From a30a1941d5ed92384389c13d31140b33e5622e78 Mon Sep 17 00:00:00 2001 From: thomasb Date: Wed, 2 May 2012 16:58:26 +0000 Subject: Upgraded to PEAR::Mail_Mime 1.8.3 git-svn-id: https://svn.roundcube.net/trunk@6137 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/lib/Mail/mimePart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/lib/Mail') diff --git a/roundcubemail/program/lib/Mail/mimePart.php b/roundcubemail/program/lib/Mail/mimePart.php index a1cf111de..821990ee0 100644 --- a/roundcubemail/program/lib/Mail/mimePart.php +++ b/roundcubemail/program/lib/Mail/mimePart.php @@ -807,7 +807,7 @@ class Mail_mimePart // Structured header (make sure addr-spec inside is not encoded) if (!empty($separator)) { // Simple e-mail address regexp - $email_regexp = '(\S+|("[^\r\n"]+"))@\S+'; + $email_regexp = '([^\s<]+|("[^\r\n"]+"))@\S+'; $parts = Mail_mimePart::_explodeQuotedString($separator, $value); $value = ''; -- cgit v1.2.3