IDNA
Bob Halley
Bob.Halley at nominum.com
Tue Dec 5 14:44:43 UTC 2006
Rob Butler wrote:
> Hello,
>
>
>
> I've been looking into IDNA a bit lately and unfortunately I think most IDNA libraries may have a bug. I'm looking for some feedback on this to see if I am wrong or if the libraries do in fact have a bug. The primary reason I question whether this is a bug or not is it seems everyone has the same bug.
>
>
>
> IDNA encoding is performed on a label by label basis. First the domain name must be broken down into labels and then each label encoded in turn. Most IDNA libraries don't seem to account for dots embedded within a label.
>
I vote for bug. I looked into IDN as part of dnspython, and ended up
writing a wrapper around python's encodings.idna module that does
label-by-label encoding and handles escapes (dns.name.from_unicode()).
/Bob
More information about the bind-workers
mailing list