Req #73574 [Fbk->NoF]: FILTER_VALIDATE_EMAIL not RCF 5322 compliant

From: Date: Sun, 04 Dec 2016 04:22:20 +0000
Subject: Req #73574 [Fbk->NoF]: FILTER_VALIDATE_EMAIL not RCF 5322 compliant
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205754@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73574&edit=1 ID: 73574 Updated by: php-bugs@lists.php.net Reported by: gecko at dvp dot io Summary: FILTER_VALIDATE_EMAIL not RCF 5322 compliant -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: Filter related PHP Version: Irrelevant Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2016-11-21 15:32:37] requinix@php.net A fully-compliant regex is ridiculous. http://pastebin.com/2ZLehM5N Even worse, the source I used to generate that does not include support for IDNs. Besides, a perfect regex is still not perfect. http://www.regular-expressions.info/email.html What email address failed validation that you considered valid? And what regex have you constructed? ------------------------------------------------------------------------ [2016-11-21 12:43:29] gecko at dvp dot io Description: ------------ FILTER_VALIDATE_EMAIL should respect the latest standard, currently this feature cannot be used and we have to build our own regexp. Update it or remove it. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73574&edit=1

« previous php.bugs (#205754) next »