Home » Validate » Validate » Bug #8853
E-Mail validation allows space before TLD
Details
| Submitted | 2006-10-05 01:15 UTC |
|---|---|
| From | sc at itst dot net |
| Assigned | amir |
| Status | Closed |
| Package | Validate |
| PHP Version | 5.1.2 |
| OS | Win XP |
| Roadmaps | 0.8.0 |
Comments
[2006-10-05 01:15 UTC] sc at itst dot net
Description:
------------
When validating e-mail addresses, "john@doe. com" validates.
Test script:
---------------
<?php
$val = new Validate;
var_dump($val->email("john@doe. com"));
?>
Expected result:
----------------
false
Actual result:
--------------
true
[2006-10-05 04:42 UTC] amir at php dot net
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net 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.