]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/include/rcube_vcard.php
Imported Upstream version 0.3.1
[roundcube.git] / program / include / rcube_vcard.php
index 7dbbb3f71da22fdbe13b4f9fc8706d3aea4e8824..f574eed14a0d155ebb475aeecc9766ea4073a7a6 100644 (file)
@@ -269,6 +269,7 @@ class rcube_vcard
 
         foreach($regs2[1] as $attrid => $attr) {
           if ((list($key, $value) = explode('=', $attr)) && $value) {
+           $value = trim($value);
             if ($key == 'ENCODING') {
               // add next line(s) to value string if QP line end detected
               while ($value == 'QUOTED-PRINTABLE' && preg_match('/=$/', $lines[$i]))