note 102398 added to filter.filters.validate
[email protected] Fri, 11 Feb 2011 08:57:46 -0800
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
FILTER_VALIDATE_EMAIL is discarding valid e-mail addresses containing IDN. Since there are real, live IDNs on the Internet, that means the filtered output is too strict, leading to false negatives. Punycode-encoded IDN addresses pass the filter correctly; so before checking for validity, it is necessary to convert the e-mail address to punycode. ---- Server IP: 92.48.74.199 Probable Submitter: 82.113.54.210 ---- Manual Page -- http://www.php.net/manual/en/filter.filters.validate.php Edit -- https://master.php.net/note/edit/102398 Del: integrated -- https://master.php.net/note/delete/102398/integrated Del: useless -- https://master.php.net/note/delete/102398/useless Del: bad code -- https://master.php.net/note/delete/102398/bad+code Del: spam -- https://master.php.net/note/delete/102398/spam Del: non-english -- https://master.php.net/note/delete/102398/non-english Del: in docs -- https://master.php.net/note/delete/102398/in+docs Del: other reasons-- https://master.php.net/note/delete/102398 Reject -- https://master.php.net/note/reject/102398 Search -- https://master.php.net/manage/user-notes.php