From 348ec70f1293e95544469c6e6d08d125ab21fcf2 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 15 Mar 2016 15:18:09 +0100 Subject: [PATCH] Export vCard PHOTO with "ENCODING=b" (instead of "ENCODING=B") as specified in RFC2426 --- program/lib/Roundcube/rcube_vcard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/lib/Roundcube/rcube_vcard.php b/program/lib/Roundcube/rcube_vcard.php index cea61bde7..fcd7a0998 100644 --- a/program/lib/Roundcube/rcube_vcard.php +++ b/program/lib/Roundcube/rcube_vcard.php @@ -742,9 +742,9 @@ class rcube_vcard else if (is_bool($attrvalues)) { // true means just a tag, not tag=value, as in PHOTO;BASE64:... if ($attrvalues) { - // vCard v3 uses ENCODING=B (#1489183) + // vCard v3 uses ENCODING=b (#1489183) if ($attrname == 'base64') { - $attr .= ";ENCODING=B"; + $attr .= ";ENCODING=b"; } else { $attr .= strtoupper(";$attrname");