Edit report at https://bugs.php.net/bug.php?id=65027&edit=1
ID: 65027 Updated by: ras...@php.net Reported by: info at iwebsoft dot de Summary: FILTER_VALIDATE_EMAIL does not accept IDN domain names -Status: Open +Status: Analyzed Type: Bug Package: Mail related Operating System: PHP 5.3.10-1ubuntu3.6 with Suhos PHP Version: 5.5.0RC3 Block user comment: N Private report: N New Comment: An easy workaround is to just call idn_to_ascii() on the address you pass to the filter. Previous Comments: ------------------------------------------------------------------------ [2013-06-13 09:24:28] info at iwebsoft dot de 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 this bug report at https://bugs.php.net/bug.php?id=65027&edit=1