Skip Menu |

This queue is for tickets about the IDNA-Punycode CPAN distribution.

Report information
The Basics
Id: 16144
Status: resolved
Priority: 0/
Queue: IDNA-Punycode

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

Bug Information
Severity: Important
Broken in: 0.03
Fixed in:
  • 1.000
  • 1.001



By having a default IDN prefix, Version 0.03 introduces an incompatible change into IDNA::Punycode, which breaks Encode::Punycode (see http://rt.cpan.org/NoAuth/Bug.html?id=14883) and Net::IDN::Encode. Even worse, because IDNA::Punycode a global variable for the prefix makes it impossible to use IDNA::Punycode for modules which need a different prefix (without just doing local $IDNA::Punycode::PREFIX = 'whatever', which is a bad idea unless it that is supposed to be an official interface).
I'd like to include this module in Net-IDN-tools and mark it at deprecated, with Net::IDN::Punycode being the new, preferred module (which does not support a prefix), Is this OK? Claus