]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-22602: Raise an exception in the UTF-7 decoder for ill-formed sequences starting...
authorZackery Spytz <zspytz@gmail.com>
Sun, 19 Aug 2018 04:43:38 +0000 (22:43 -0600)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 19 Aug 2018 04:43:38 +0000 (07:43 +0300)
commite349bf23584eef20e0d1e1b2989d9b1430f15507
treed698b962c27f07d0e6f1baf4fbe13fee145c60dc
parentd3d3171da895d8cb880f23fae6be778f0ac23be7
bpo-22602: Raise an exception in the UTF-7 decoder for ill-formed sequences starting with "+". (GH-8741)

The UTF-7 decoder now raises UnicodeDecodeError for ill-formed
sequences starting with "+" (as specified in RFC 2152).
Lib/test/test_codecs.py
Lib/test/test_unicode.py
Misc/NEWS.d/next/Library/2018-08-12-00-14-54.bpo-22602.ybG9K8.rst [new file with mode: 0644]
Objects/unicodeobject.c