From 2185899721b227897f6a7739e223b48fe5f9baf7 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 9 Aug 2011 09:53:37 +0000 Subject: - Fix handling of email addresses with quoted local part (#1487939) --- program/include/rcube_imap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include') 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 = ''; } -- cgit v1.2.3