]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-63283: IDNA prefix should be case insensitive (GH-17726)
authorZackery Spytz <zspytz@gmail.com>
Fri, 15 Mar 2024 14:38:13 +0000 (07:38 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Mar 2024 14:38:13 +0000 (15:38 +0100)
commitd180b507c4929be399395bfd7946948f98ffc4f7
tree51f22f7b3eb792dbe996a9c6bf26dabaffdf6fca
parentce2c996b2f645cd886d05f6ef8f1ba60ced7d4b7
gh-63283: IDNA prefix should be case insensitive (GH-17726)

Any capitalization of "xn--" should be acceptable for the ACE prefix
(see https://tools.ietf.org/html/rfc3490#section-5).

Co-authored-by: Pepijn de Vos <pepijndevos@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Lib/encodings/idna.py
Lib/test/test_codecs.py
Misc/NEWS.d/next/Library/2024-03-13-15-45-54.gh-issue-63283.OToJnG.rst [new file with mode: 0644]