]> granicus.if.org Git - python/commit
Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 2 Oct 2015 10:07:28 +0000 (13:07 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 2 Oct 2015 10:07:28 +0000 (13:07 +0300)
commit28b21e50c8f1bc9f4524b02df75b83f3b5efacb4
treea4f79a50557f58e93c570be7e655516c2d2e894b
parent223349cfb8a7a59caf7dffee55f21c800bdb947d
Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:

1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
Lib/test/test_codecs.py
Lib/test/test_unicode.py
Misc/NEWS
Objects/unicodeobject.c