diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-10-11 19:32:45 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-10-11 19:32:45 +0200 |
commit | e8f8d645be4a431ee7114859b9aedae042f52ead (patch) | |
tree | 9c503985f76b2d75a779854502e1cd6387ee0ec8 /_test | |
parent | abe88ecbb1016580584d00091f6de364d509933f (diff) | |
download | rpg-e8f8d645be4a431ee7114859b9aedae042f52ead.tar.gz rpg-e8f8d645be4a431ee7114859b9aedae042f52ead.tar.bz2 |
use EmailAddressValidator class for email validation FS#1503
darcs-hash:20081011173245-7ad00-578e03ca701fc4443ba91329be6ac1ca9344c7a7.gz
Diffstat (limited to '_test')
-rw-r--r-- | _test/cases/inc/mail_isvalid.test.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |