Bug #80967 [NEW]: FILTER_VALIDATE_EMAIL fails on Russian email address поддержка@почта.рус

From: Date: Sun, 18 Apr 2021 09:57:52 +0000
Subject: Bug #80967 [NEW]: FILTER_VALIDATE_EMAIL fails on Russian email address поддержка@почта.рус
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233491@lists.php.net to get a copy of this message
From: divinity76 at gmail dot com Operating system: PHP version: 8.0.5RC1 Package: *Mail Related Bug Type: Bug Bug description:FILTER_VALIDATE_EMAIL fails on Russian email address поддержка@почта.рус Description: ------------ поддержка@почта.рус is a real email address, but FILTER_VALIDATE_EMAIL fails to validate it, regardless of FILTER_FLAG_EMAIL_UNICODE Test script: --------------- <?php var_dump(filter_var('поддержка@почта.рус', FILTER_VALIDATE_EMAIL, FILTER_FLAG_EMAIL_UNICODE)); Expected result: ---------------- bool(true) Actual result: -------------- bool(false) -- Edit bug report at https://bugs.php.net/bug.php?id=80967&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80967&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80967&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80967&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80967&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80967&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80967&r=support Expected behavior: https://bugs.php.net/fix.php?id=80967&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80967&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80967&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80967&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80967&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80967&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80967&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80967&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80967&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80967&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80967&r=mysqlcfg

« previous php.bugs (#233491) next »