Bug #65027 [NEW]: FILTER_VALIDATE_EMAIL does not accept IDN domain names
| From: | info at iwebsoft dot de | Date: | Thu, 13 Jun 2013 09:24:28 +0000 |
| Subject: | Bug #65027 [NEW]: FILTER_VALIDATE_EMAIL does not accept IDN domain names | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-179536@lists.php.net to get a copy of this message | ||
From: info at iwebsoft dot de
Operating system: PHP 5.3.10-1ubuntu3.6 with Suhos
PHP version: 5.5.0RC3
Package: Mail related
Bug Type: Bug
Bug description:FILTER_VALIDATE_EMAIL does not accept IDN domain names
Description:
------------
The filter FILTER_VALIDATE_EMAIL does not accept IDN domain names, so valid
email addresses are not accepted.
Test script:
---------------
var_dump(filter_var('test@täst.de', FILTER_VALIDATE_EMAIL));
Expected result:
----------------
string(13) "test@täst.de"
Actual result:
--------------
bool(false)
--
Edit bug report at https://bugs.php.net/bug.php?id=65027&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65027&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65027&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65027&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65027&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65027&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65027&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65027&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65027&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65027&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65027&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65027&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65027&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65027&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65027&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65027&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65027&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65027&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65027&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65027&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65027&r=mysqlcfg