Bug #73953 [Opn->Nab]: Bug in filter emails
| From: | requinix@php.net | Date: | Tue, 17 Jan 2017 07:31:00 +0000 |
| Subject: | Bug #73953 [Opn->Nab]: Bug in filter emails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206705@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73953&edit=1
ID: 73953
Updated by: requinix@php.net
Reported by: alexv1rs at gmail dot com
Summary: Bug in filter emails
-Status: Open
+Status: Not a bug
Type: Bug
Package: Filter related
PHP Version: 5.6.29
Block user comment: N
Private report: N
New Comment:
Forward slashes are actually allowed in the username portion of an email address, as are other
uncommonly used symbols like # ? { }.
Previous Comments:
------------------------------------------------------------------------
[2017-01-17 07:18:02] alexv1rs at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/filter.examples.validation
---
If we want to check email address like "11111/xxxx@yyyy.ru" - it's will be true. From
5.6 to 7.1
Test script:
---------------
if (filter_var('11111/xxxx@yyyy.zz', FILTER_VALIDATE_EMAIL)) {
echo 'true';
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73953&edit=1