Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.6

Bug #5804 "-" is valid in domain extension
Submitted: 2005-10-28 09:05 UTC
From: parsa Assigned: toggg
Status: Closed Package: Validate
PHP Version: 5.0.3 OS:
Roadmaps: (Not assigned)    

 [2005-10-28 09:05 UTC] amir at itdate dot com
Description: ------------ In e-mail validator "-" is valid in last part of domain (extension) I think it's not necessary. Test script: --------------- ////only remove "-" from last block [A-Za-z\-] >>>> [A-Za-z]


 [2005-10-28 09:32 UTC] toggg
We don't understand exactly what you want. Could you provide example(s) of e-mail adresses you consider faulty ? Thanks for your interest in this package.
 [2005-10-28 11:02 UTC] amir at itdate dot com
when I want validate email address like '' or amir@itdate.- validator class return true I think this is no a valid email
 [2005-10-31 17:11 UTC] toggg
Only trailing minuses are forbidden in the domain part, is OK is not, as others now in the email.phpt but it's more a bug than a RFE Merci
 [2005-11-01 09:04 UTC] toggg
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.