X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=program%2Finclude%2Frcube_vcard.php;h=f574eed14a0d155ebb475aeecc9766ea4073a7a6;hb=e8a0682b96f5b7f297e58d101735ba20a0cc3a89;hp=7dbbb3f71da22fdbe13b4f9fc8706d3aea4e8824;hpb=b68022ca3782d5eb5a1a7ef6f8cf7abe1dc15bd6;p=roundcube.git diff --git a/program/include/rcube_vcard.php b/program/include/rcube_vcard.php index 7dbbb3f..f574eed 100644 --- a/program/include/rcube_vcard.php +++ b/program/include/rcube_vcard.php @@ -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]))