ID:               49470
 Updated by:       [email protected]
 Reported By:      contact at ghetmedia dot com
-Status:           Verified
+Status:           Closed
 Bug Type:         Filter related
 Operating System: *
 PHP Version:      5.2SVN-2009-09-04 (snap)
 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2009-09-07 02:35:25] [email protected]

Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=288117
Log: Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed
characters).

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

[2009-09-05 17:28:22] contact at ghetmedia dot com

This is not compliant with the domain name RFC.

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

[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

Reply via email to