summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-09-13 12:36:54 +0200
committerAleksander Machniak <alec@alec.pl>2014-09-13 12:37:23 +0200
commit9a498212446f6c9a186df5652a7625526b590b78 (patch)
tree099b09b61a9b6f5094b4b8c10243c82c5f96ff50 /tests
parentd6867490abc543da0c8ec7895d3748d1e7e93e63 (diff)
Fix validation of email addresses with IDNA domains (#1490067)
Diffstat (limited to 'tests')
-rw-r--r--tests/Framework/Utils.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Framework/Utils.php b/tests/Framework/Utils.php
index 560a8bde7..b32974d23 100644
--- a/tests/Framework/Utils.php
+++ b/tests/Framework/Utils.php
@@ -29,6 +29,7 @@ class Framework_Utils extends PHPUnit_Framework_TestCase
array('email@domain.name', '.name is valid Top Level Domain name'),
array('email@domain.co.jp', 'Dot in Top Level Domain name also considered valid (use co.jp as example here)'),
array('firstname-lastname@domain.com', 'Dash in address field is valid'),
+ array('test@xn--e1aaa0cbbbcacac.xn--p1ai', 'IDNA domain'),
);
}