[wp-trac] [WordPress Trac] #19724: Sites with IDN domains can't be created (bug #15554 continuation)

WordPress Trac noreply at wordpress.org
Mon Feb 1 19:27:03 UTC 2016


#19724: Sites with IDN domains can't be created (bug #15554 continuation)
--------------------------------+-----------------------------
 Reporter:  qdinar              |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Future Release
Component:  Networks and Sites  |     Version:  3.3
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:  multisite
--------------------------------+-----------------------------

Comment (by qdinar):

 Replying to [comment:8 kawauso]:
 > [http://uk3.php.net/manual/en/function.idn-to-utf8.php idn_to_utf8]
 (idn_to_unicode) and [http://uk3.php.net/manual/en/function.idn-to-
 ascii.php idn_to_ascii] are only available in PHP 5.3 and the intl PECL
 library, so those would need drop-in compatibility functions I believe.

 i searched for php punycode functions and found several, 4 years ago, but
 did not post about them here. i thought it is not hard to search and find
 them if anybody want to use them. but this time i post some links and info
 and questions.

 i have found several libraries this time:

 GPL : https://phlymail.com/en/downloads/idna-convert.html ->
 http://idnaconv.net/get-it.html -> https://github.com/phlylabs/idna-
 convert

 MIT: http://www.zedwood.com/article/php-idn-punycode-converter ->
 https://github.com/mk-j/PHP_IDN_Punycode

 bsd?: https://github.com/true/php-punycode

 MIT: https://code.google.com/archive/p/punycode-library/downloads

 https://ckon.wordpress.com/2010/08/24/punycode-to-unicode-converter-php/

 http://belousovv.ru/myscript/phpIDN

 how should i or other user submit this library for wordpress? are not they
 too big for a patch? in which directory it should be installed?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19724#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list