]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30566: Fix IndexError when using punycode codec (GH-18632)
authorBerker Peksag <berker.peksag@gmail.com>
Tue, 25 Feb 2020 03:19:03 +0000 (06:19 +0300)
committerGitHub <noreply@github.com>
Tue, 25 Feb 2020 03:19:03 +0000 (06:19 +0300)
commitba22e8f174309979d90047c5dc64fcb63bc2c32e
treefe5add86cf54ab65ba7fdc1cc48bc23685884835
parent8af4712a16e4b7d1b60f1faec13cd7a88da95f6a
bpo-30566: Fix IndexError when using punycode codec (GH-18632)

Trying to decode an invalid string with the punycode codec
shoud raise UnicodeError.
Lib/encodings/punycode.py
Lib/test/test_codecs.py
Misc/NEWS.d/next/Library/2020-02-24-03-45-28.bpo-30566.qROxty.rst [new file with mode: 0644]