ID: 49470
Comment by: contact at ghetmedia dot com
Reported By: contact at ghetmedia dot com
Status: Verified
Bug Type: Filter related
Operating System: *
PHP Version: 5.2SVN-2009-09-04 (snap)
New Comment:
This is not compliant with the domain name RFC.
Previous Comments:
------------------------------------------------------------------------
[2009-09-04 23:26:46] contact at ghetmedia dot com
Description:
------------
Filter_var and it's flag FILTER_SANITIZE_EMAIL do absolutely nothing.
Reproduce code:
---------------
echo filter_var('t...@t//est.com', FILTER_SANITIZE_EMAIL);
Expected result:
----------------
[email protected]
Actual result:
--------------
t...@t//est.com
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49470&edit=1