Aleksander Machniak
2016-03-15 348ec70f1293e95544469c6e6d08d125ab21fcf2
Export vCard PHOTO with "ENCODING=b" (instead of "ENCODING=B") as specified in RFC2426
1 files modified
4 ■■■■ changed files
program/lib/Roundcube/rcube_vcard.php 4 ●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_vcard.php
@@ -742,9 +742,9 @@
                        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");