Skip Menu |

This queue is for tickets about the Net-IDN-Encode CPAN distribution.

Report information
The Basics
Id: 98354
Status: resolved
Priority: 0/
Queue: Net-IDN-Encode

People
Owner: CFAERBER [...] cpan.org
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.200
Fixed in: (no value)



Subject: Capitalized ACE prefix does not work
=== perl -MNet::IDN::Encode=domain_to_unicode -e 'print domain_to_unicode("EXAMPLE.XN--11B5BS3A9AJ6G")' EXAMPLE.XN--11B5BS3A9AJ6G perl -MNet::IDN::Encode=domain_to_unicode -e 'print domain_to_unicode("EXAMPLE.xn--11B5BS3A9AJ6G")' Wide character in print at -e line 1. .... perl -MNet::IDN::Encode=domain_to_unicode -e 'print Net::IDN::Encode->VERSION' 2.2 === (that's btw example from documentation) however, it seems that it should work http://tools.ietf.org/html/rfc3490 The ACE prefix for IDNA is "xn--" or any capitalization thereof. https://www.ietf.org/rfc/rfc3492.txt A decoder MUST recognize the letters in both uppercase and lowercase forms (including mixtures of both forms). An encoder SHOULD output only uppercase forms or only lowercase forms, unless it uses mixed- case annotation (see appendix A).
Thank you for reporting this bug. What really strikes me is that noone (including myself) has noticed it before and that it is not, in particular, anywhere in the tests, not even the official test vectors from Unicode.
This bug is fixed in version 2.201.
On Sat Aug 30 20:01:43 2014, CFAERBER wrote: Show quoted text
> This bug is fixed in version 2.201.
Thank you !