|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80967 FILTER_VALIDATE_EMAIL fails on Russian email address поддержка@почта.рус
Submitted: 2021-04-18 09:57 UTC Modified: 2021-04-18 10:29 UTC
From: divinity76 at gmail dot com Assigned: cmb (profile)
Status: Duplicate Package: *Mail Related
PHP Version: 8.0.5RC1 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: divinity76 at gmail dot com
New email:
PHP Version: OS:


 [2021-04-18 09:57 UTC] divinity76 at gmail dot com
поддержка@почта.рус is a real email address, but FILTER_VALIDATE_EMAIL fails to validate it, regardless of FILTER_FLAG_EMAIL_UNICODE

Test script:
var_dump(filter_var('поддержка@почта.рус', FILTER_VALIDATE_EMAIL, FILTER_FLAG_EMAIL_UNICODE));

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-04-18 10:29 UTC]
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2021-04-18 10:29 UTC]
Duplicate of request #39469.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 12:01:29 2024 UTC