From af6b2a680a1c1876954c83ff492e6ae38e4c8e60 Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 12 Oct 2009 09:44:04 +0000 Subject: - Fix importing/sending to email address with whitespace (#1486214) git-svn-id: https://svn.roundcube.net/trunk@3033 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_vcard.php | 1 + 1 file changed, 1 insertion(+) (limited to 'roundcubemail/program/include/rcube_vcard.php') diff --git a/roundcubemail/program/include/rcube_vcard.php b/roundcubemail/program/include/rcube_vcard.php index 7dbbb3f71..f574eed14 100644 --- a/roundcubemail/program/include/rcube_vcard.php +++ b/roundcubemail/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])) -- cgit v1.2.3