help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two (bugs? misfeatures?) in libidn


From: Simon Josefsson
Subject: Re: two (bugs? misfeatures?) in libidn
Date: Thu, 02 Aug 2012 22:21:50 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.3 (gnu/linux)

Jon Nelson <address@hidden> writes:

> I've encountered two bugs or misfeatures in libidn:

Hi!  Thanks for your report.

> 1. given an idna-encoded input, it is possible to generate invalid
> UTF-8 output (as defined by RFC3629). The UTF-8 is invalid because
> codepoints above 0x10FFFF are used.
>
> See http://tools.ietf.org/html/rfc3629

Can you be more concrete, what inputs does this happen for and what
output would you expect?  An example would help illustrate the problem.

> 2. after decoding some idna-encoded input, it is possible to have
> UTF-8 that cannot be re-idna-encoded, usually with a label that is too
> long.

An illustration of this issue would be useful as well.

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]