From ad31a69ad16ab93e09b500781cbb639875df4747 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 02 May 2012 12:58:26 -0400 Subject: [PATCH] Upgraded to PEAR::Mail_Mime 1.8.3 --- program/lib/Mail/mimePart.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/lib/Mail/mimePart.php b/program/lib/Mail/mimePart.php index a1cf111..821990e 100644 --- a/program/lib/Mail/mimePart.php +++ b/program/lib/Mail/mimePart.php @@ -807,7 +807,7 @@ // 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 = ''; -- Gitblit v1.9.1