Aleksander Machniak
2013-10-21 8d5832fe96ec8b62efe951ff1ff7ad868f74f035
Fix failing vCard import when email address field contains spaces (#1489386)
2 files modified
5 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_vcard.php 4 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix failing vCard import when email address field contains spaces (#1489386)
- Fix default spell-check configuration after Google suspended their spell service
- Fix vulnerability in handling _session argument of utils/save-prefs (#1489382)
- Fix iframe onload for upload errors handling (#1489379)
program/lib/Roundcube/rcube_vcard.php
@@ -611,8 +611,8 @@
                $enc   = null;
                foreach($regs2[1] as $attrid => $attr) {
                    $attr = preg_replace('/[\s\t\n\r\0\x0B]/', '', $attr);
                    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
@@ -791,7 +791,7 @@
                return $result;
            }
            $s = strtr($s, $rep2);
            $s = trim(strtr($s, $rep2));
        }
        // some implementations (GMail) use non-standard backslash before colon (#1489085)