help-libidn
[Top][All Lists]
Advanced

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

Re: Possible bad punycode slipping through


From: Simon Josefsson
Subject: Re: Possible bad punycode slipping through
Date: Thu, 10 Dec 2015 15:51:15 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)

Bob Aman <address@hidden> writes:

> I believe this is an invalid punycode encoding and should be raising an
> error. Instead, I'm seeing the identity value without an error when trying
> to convert to unicode.
>
> http://xn--zckp1cyg1.sblo.jp/
>
> I believe it's that last character in the sequence that's invalid.
>
> This is in 1.32 on OS X, installed via homebrew.

ToUnicode never raises errors.  On internal failures, the original
string is returned.  RFC 3490:

   ToUnicode never fails.  If any step fails, then the original input
   sequence is returned immediately in that step.

/Simon

Attachment: signature.asc
Description: PGP signature


reply via email to

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