Edit report at https://bugs.php.net/bug.php?id=60296&edit=1
ID: 60296
User updated by: ameen at tasjeel dot ae
Reported by: ameen at tasjeel dot ae
Summary: Unable to convert domains valid under IDNA2008
Specification
-Status: Feedback
+Status: Open
Type: Bug
Package: idn
Operating System: Fedora
-PHP Version: 5.3.8
+PHP Version: 5.3.6-1
Block user comment: N
Private report: N
New Comment:
The version for libicu is 4.4.2-2
Previous Comments:
------------------------------------------------------------------------
[2011-11-15 09:30:10] [email protected]
reported at http://bugs.icu-project.org/trac/ticket/8937
------------------------------------------------------------------------
[2011-11-14 22:55:34] [email protected]
I suppose you use intl's idn_to_ascii right?
In this case, this is most likely a bug in the ICU library, can you please try
to
report a bug at the icu-project.org directly. PHP only wraps ICU functions of
the
ICU library and data (unicode data). As it is supposed to implement IDNA2008 in
its latest release, it should work.
btw, which ICU version do you use?
------------------------------------------------------------------------
[2011-11-14 15:09:45] ameen at tasjeel dot ae
Description:
------------
The idn implementation in php does not seem to fully support BIDI rules as
defined in IDNA2008 specification which are the IETF RFCs 5890 - 5894. This has
been noticed because it does not seem to support converting right-to-left
script labels ending with a number, and this was addressed by these RFC's.
With the function below there is no output.
Test script:
---------------
echo idn_to_ascii("اختبار7.اÙ
ارات");
Expected result:
----------------
xn--7-ymcadjxy.xn--mgbaam7a8h
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60296&edit=1