Bug #74470 [Opn->Nab]: FILTER VALIDATE EMAIL and To be valid emails
| From: | fmargaine@php.net | Date: | Tue, 18 Apr 2017 22:57:52 +0000 |
| Subject: | Bug #74470 [Opn->Nab]: FILTER VALIDATE EMAIL and To be valid emails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208649@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74470&edit=1
ID: 74470
Updated by: fmargaine@php.net
Reported by: cemardaakin at yandex dot com
Summary: FILTER VALIDATE EMAIL and To be valid emails
-Status: Open
+Status: Not a bug
Type: Bug
Package: Filter related
Operating System: windows
PHP Version: 5.6.30
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
This is expected behavior.
Previous Comments:
------------------------------------------------------------------------
[2017-04-18 22:37:56] spam2 at rhsoft dot net
"but is it usefull" is not the qestion when it comes to validation
enough fools out there decided that the + sign is not useful and hence not accepted in webforms
while it's perfect legal and on a proper mailserver would put mails in the subfolder
"test" in case of "test+xxx@xecmplaec.com"
> did you mean "i can use like that email" ? :)
yes, if not some random fool decides that he don't care about RFC's and reject it
------------------------------------------------------------------------
[2017-04-18 22:32:57] cemardaakin at yandex dot com
I know,blabla'@email.com type is correct for universal types but is it usefull ?
did you mean "i can use like that email" ? :)
------------------------------------------------------------------------
[2017-04-18 22:25:46] spam2 at rhsoft dot net
you think...
https://en.wikipedia.org/wiki/Email_address#Local-part
------------------------------------------------------------------------
[2017-04-18 22:21:44] cemardaakin at yandex dot com
Description:
------------
FILTER_VALIDATE_EMAIL filter accepts blabla'@domain.com. I think its not normal
Test script:
---------------
var_dump(filter_var("bla'bla'@php.net",FILTER_VALIDATE_EMAIL));
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74470&edit=1