Bug #60296 [NEW]: Unable to convert domains valid under IDNA2008 Specification
| From: | ameen at tasjeel dot ae | Date: | Mon, 14 Nov 2011 15:09:46 +0000 |
| Subject: | Bug #60296 [NEW]: Unable to convert domains valid under IDNA2008 Specification | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-165124@lists.php.net to get a copy of this message | ||
From:
Operating system: Fedora
PHP version: 5.3.8
Package: idn
Bug Type: Bug
Bug description:Unable to convert domains valid under IDNA2008 Specification
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 bug report at https://bugs.php.net/bug.php?id=60296&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60296&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60296&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60296&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=60296&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60296&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=60296&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=60296&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=60296&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=60296&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=60296&r=support
Expected behavior: https://bugs.php.net/fix.php?id=60296&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=60296&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=60296&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=60296&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60296&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60296&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=60296&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=60296&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=60296&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=60296&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=60296&r=mysqlcfg