|
From: | Bob Aman |
Subject: | Re: Possible bad punycode slipping through |
Date: | Thu, 10 Dec 2015 16:42:33 +0000 |
Oh that is good to know. Appreciate the clarification.
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
[Prev in Thread] | Current Thread | [Next in Thread] |