diff options
author | alecpl <alec@alec.pl> | 2011-08-09 09:53:37 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-08-09 09:53:37 +0000 |
commit | 2185899721b227897f6a7739e223b48fe5f9baf7 (patch) | |
tree | ba6756ad1a1ff8b8ce26921b23da5e4b4dfa2ff7 /program/include | |
parent | 6d0ada30d7847a509db10d819020ac653597d073 (diff) |
- Fix handling of email addresses with quoted local part (#1487939)
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_imap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 5fbf3ad54..e31fb887e 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -4772,7 +4772,7 @@ class rcube_imap $address = $m[2]; $name = trim($m[1]); } - else if (preg_match('/^(\S+@\S+)$/', $val, $m)) { + else if (preg_match('/^('.$email_rx.')$/', $val, $m)) { $address = $m[1]; $name = ''; } |