From e8f8d645be4a431ee7114859b9aedae042f52ead Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 11 Oct 2008 19:32:45 +0200 Subject: use EmailAddressValidator class for email validation FS#1503 darcs-hash:20081011173245-7ad00-578e03ca701fc4443ba91329be6ac1ca9344c7a7.gz --- _test/cases/inc/mail_isvalid.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_test') diff --git a/_test/cases/inc/mail_isvalid.test.php b/_test/cases/inc/mail_isvalid.test.php index 120764e08..374204679 100644 --- a/_test/cases/inc/mail_isvalid.test.php +++ b/_test/cases/inc/mail_isvalid.test.php @@ -15,7 +15,7 @@ class mail_isvalid extends UnitTestCase { $tests[] = array('username+tag@domain.com',true); // FS#1447 $tests[] = array("rfc2822+allthesechars_#*!'`/-={}are.legal@somewhere.com.au",true); $tests[] = array('_foo@test.com',true); // FS#1049 - $tests[] = array('bugs@php.net1',false); + $tests[] = array('bugs@php.net1',true); // new ICAN rulez seem to allow this $tests[] = array('.bugs@php.net1',false); $tests[] = array('bu..gs@php.net',false); $tests[] = array('bugs@php..net',false); -- cgit v1.2.3