ID:               47879
 Updated by:       [email protected]
 Reported By:      cory dot jacobsen at zu dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Filter related
 Operating System: *
 PHP Version:      5.2.9
 New Comment:

Actually you can if its an internal domain name.


Previous Comments:
------------------------------------------------------------------------

[2009-04-02 15:51:54] cory dot jacobsen at zu dot com

Description:
------------
Some email addresses that are obviously wrong, pass the validation
with
FILTER_VALIDATE_EMAIL.  You can not have a top level domain with one
character only.

Reproduce code:
---------------
var_dump(filter_var("[email protected]", FILTER_VALIDATE_EMAIL));

Expected result:
----------------
bool(false)

Actual result:
--------------
string(5) "[email protected]"


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47879&edit=1

Reply via email to