ID:               40573
 Updated by:       [EMAIL PROTECTED]
 Reported By:      crocodile2u at yandex dot ru
-Status:           Open
+Status:           Bogus
 Bug Type:         Filter related
 Operating System: Ubuntu Linux
 PHP Version:      5.2.1
 New Comment:

Bogusified by user request.


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

[2007-02-21 08:10:04] crocodile2u at yandex dot ru

I've just looked at what the RFC 2822 allows - and found that the
filter actually works fine. That was my mistake to think that slashes
are not allowed in the local part of address. Sorry.

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

[2007-02-21 07:26:59] crocodile2u at yandex dot ru

Description:
------------
Some email addresses that are obviously wrong, pass the validation with
FILTER_VALIDATE_EMAIL

Reproduce code:
---------------
var_dump(filter_var("/@wrong.email", FILTER_VALIDATE_EMAIL));

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

Actual result:
--------------
string(13) "/@wrong.email"


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


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

Reply via email to