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:36:54 +0200
commit848e204ef9bdaf989e7e48025d4ea6ee21e7678e (patch)
tree8b0ca330c80077b2cf99247299c7df6756c7a40f /tests
parent050b482b38ce3c2147af976ba6d5b229539c6558 (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'),
);
}