Bug #74470 [Com]: FILTER VALIDATE EMAIL and To be valid emails

From: Date: Tue, 18 Apr 2017 22:37:59 +0000
Subject: Bug #74470 [Com]: FILTER VALIDATE EMAIL and To be valid emails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208648@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 Comment by: spam2 at rhsoft dot net Reported by: cemardaakin at yandex dot com Summary: FILTER VALIDATE EMAIL and To be valid emails Status: Open Type: Bug Package: Filter related Operating System: windows PHP Version: 5.6.30 Block user comment: N Private report: N New Comment: "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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#208648) next »