|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #73574 FILTER_VALIDATE_EMAIL not RCF 5322 compliant
Submitted: 2016-11-21 12:43 UTC Modified: 2016-12-04 04:22 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: gecko at dvp dot io Assigned:
Status: No Feedback Package: Filter related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-11-21 12:43 UTC] gecko at dvp dot io
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-21 15:32 UTC]
-Status: Open +Status: Feedback
 [2016-11-21 15:32 UTC]
A fully-compliant regex is ridiculous.
Even worse, the source I used to generate that does not include support for IDNs.
Besides, a perfect regex is still not perfect.

What email address failed validation that you considered valid? And what regex have you constructed?
 [2016-12-04 04:22 UTC] php-bugs at lists dot php dot net
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.
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Aug 23 02:01:27 2019 UTC