From 6130f70fa7c582481bf0dce8b429aaacfc1e21ff Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 9 Aug 2011 09:53:37 +0000 Subject: - Fix handling of email addresses with quoted local part (#1487939) git-svn-id: https://svn.roundcube.net/trunk@5034 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/tests/maildecode.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roundcubemail/tests/maildecode.php') diff --git a/roundcubemail/tests/maildecode.php b/roundcubemail/tests/maildecode.php index ef3d18246..7d67352c3 100644 --- a/roundcubemail/tests/maildecode.php +++ b/roundcubemail/tests/maildecode.php @@ -46,6 +46,8 @@ class rcube_test_maildecode extends UnitTestCase 18 => '"Test,Test" ', // 1487939 19 => 'Test <"test test"@domain.tld>', + 20 => '<"test test"@domain.tld>', + 21 => '"test test"@domain.tld', ); $results = array( @@ -69,6 +71,8 @@ class rcube_test_maildecode extends UnitTestCase 17 => array(1, '', 'test@domain.tld'), 18 => array(1, 'Test,Test', 'test@domain.tld'), 19 => array(1, 'Test', '"test test"@domain.tld'), + 20 => array(1, '', '"test test"@domain.tld'), + 21 => array(1, '', '"test test"@domain.tld'), ); foreach ($headers as $idx => $header) { -- cgit v1.2.3