summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-09-09 16:50:14 +0200
committerAleksander Machniak <alec@alec.pl>2012-09-09 16:50:14 +0200
commit8f66aa06f58ba2c9f99541a191ee4bcaa98500b3 (patch)
treea9e6e8b107042421756255341971e1b88964e176 /program/include
parent00f34700632f7ff78df0c532d2605397820d0c79 (diff)
Fix encoding vCard file when contains PHOTO;ENCODING=b (#1488683)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_vcard.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/rcube_vcard.php b/program/include/rcube_vcard.php
index 2bfd474c6..49b312c5c 100644
--- a/program/include/rcube_vcard.php
+++ b/program/include/rcube_vcard.php
@@ -555,6 +555,7 @@ class rcube_vcard
if ((list($key, $value) = explode('=', $attr)) && $value) {
$value = trim($value);
if ($key == 'ENCODING') {
+ $value = strtoupper($value);
// add next line(s) to value string if QP line end detected
if ($value == 'QUOTED-PRINTABLE') {
while (preg_match('/=$/', $lines[$i]))