summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-05-02 16:58:26 +0000
committerthomascube <thomas@roundcube.net>2012-05-02 16:58:26 +0000
commitad31a69ad16ab93e09b500781cbb639875df4747 (patch)
treee0ebd5c72707d64998e2c6cb97b710e2c7c8131c /program
parentf802b3d718f6cea84531661180f1266957e0d66a (diff)
Upgraded to PEAR::Mail_Mime 1.8.3
Diffstat (limited to 'program')
-rw-r--r--program/lib/Mail/mimePart.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Mail/mimePart.php b/program/lib/Mail/mimePart.php
index a1cf111de..821990ee0 100644
--- a/program/lib/Mail/mimePart.php
+++ b/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 = '';