diff options
author | Andreas Fischer <bantu@phpbb.com> | 2012-05-30 21:01:25 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-05-30 21:11:17 +0200 |
commit | de4dff8bb077e98e203e0e83bd52630053970ee0 (patch) | |
tree | d2be145a7d29da3540329e564c4549b8e240b52c /tests | |
parent | 275dabbc4f7e412d6f21266d43708635f63384e2 (diff) | |
download | forums-de4dff8bb077e98e203e0e83bd52630053970ee0.tar forums-de4dff8bb077e98e203e0e83bd52630053970ee0.tar.gz forums-de4dff8bb077e98e203e0e83bd52630053970ee0.tar.bz2 forums-de4dff8bb077e98e203e0e83bd52630053970ee0.tar.xz forums-de4dff8bb077e98e203e0e83bd52630053970ee0.zip |
[ticket/10162] Add test cases for top level domain names longer than 6 chars.
PHPBB3-10162
Diffstat (limited to 'tests')
-rw-r--r-- | tests/regex/email_test.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/regex/email_test.php b/tests/regex/email_test.php index 17f93259c3..b4ea5b23aa 100644 --- a/tests/regex/email_test.php +++ b/tests/regex/email_test.php @@ -28,6 +28,8 @@ class phpbb_regex_email_test extends phpbb_test_case array('alice_foo@bar.phpbb.com'), array('alice+tag@foo.phpbb.com'), array('alice&tag@foo.phpbb.com'), + array('alice@phpbb.australia'), + array('alice@phpbb.topZlevelZdomainZnamesZcanZbeZupZtoZsixtyZthreeZcharactersZlong'), //array('"John Doe"@example.com'), //array('Alice@[192.168.2.1]'), // IPv4 @@ -96,6 +98,7 @@ class phpbb_regex_email_test extends phpbb_test_case array('! "#$%(),/;<>[]`|@invalidCharsInLocal.org'), array('invalidCharsInDomain@! "#$%(),/;<>_[]`|.org'), array('local@SecondLevelDomainNamesAreInvalidIfTheyAreLongerThan64Charactersss.org'), + array('alice@phpbb.topZlevelZdomainZnamesZcanZbeZupZtoZsixtyZthreeZcharactersZlongZ'), ); } |