summaryrefslogtreecommitdiff
path: root/program/lib/Mail/mimePart.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-05-02 16:58:26 +0000
committerAleksander Machniak <alec@alec.pl>2012-05-08 12:06:30 +0200
commite5b5162b77d5b8929ad388797c845ffaaba6c306 (patch)
tree38aab951278113f1512a7e22cad196cec3a24af8 /program/lib/Mail/mimePart.php
parent05383a9388ea33f5cbead55f5624c62823db1e89 (diff)
Upgraded to PEAR::Mail_Mime 1.8.3
Diffstat (limited to 'program/lib/Mail/mimePart.php')
-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 = '';