Req #39469 [ReO]: FILTER_VALIDATE_EMAIL does not accept IDN domain names

From: Date: Mon, 08 Aug 2016 10:05:20 +0000
Subject: Req #39469 [ReO]: FILTER_VALIDATE_EMAIL does not accept IDN domain names
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203071@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=39469&edit=1

 ID:                 39469
 Updated by:         cmb@php.net
 Reported by:        christoph at ziegenberg dot de
 Summary:            FILTER_VALIDATE_EMAIL does not accept IDN domain
                     names
 Status:             Re-Opened
 Type:               Feature/Change Request
 Package:            Filter related
 Operating System:   WinXP SP2
 PHP Version:        5.2.0
 Block user comment: N
 Private report:     N

 New Comment:

> For the record, it never aimed to support punycode. One has to
> convert them first.

Wouldn't it make sense to do the conversion automatically, if
ext/intl is available? Otherwise we should mark this as WONTFIX.


Previous Comments:
------------------------------------------------------------------------
[2015-06-15 23:28:34] cmb@php.net

Related To: Bug #65385

------------------------------------------------------------------------
[2015-06-15 23:26:28] cmb@php.net

Related To: Bug #55865

------------------------------------------------------------------------
[2015-06-15 23:16:40] cmb@php.net

Related To: Bug #65027

------------------------------------------------------------------------
[2015-03-20 01:46:08] ppaisndud at gmail dot com

Similar to https://bugs.php.net/bug.php?id=65027
which suggests to use idn_to_ascii from pecl intl 

http://3v4l.org/THEZj

------------------------------------------------------------------------
[2014-07-19 18:33:59] pajoye@php.net

For the record, it never aimed to support punycode. One has to convert them first.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=39469


--
Edit this bug report at https://bugs.php.net/bug.php?id=39469&edit=1


Thread (9 messages)

« previous php.bugs (#203071) next »