diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-07-11 19:52:57 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-07-11 19:52:57 (GMT) |
commit | 65171b28e77f589a490335c8749a24151e1d8817 (patch) | |
tree | 6377dcdda4bad3baec23587cf016587858bbeaca /Misc | |
parent | 3641a74e1c03ce153042d2c21639e5b6b9604f3b (diff) | |
download | cpython-65171b28e77f589a490335c8749a24151e1d8817.zip cpython-65171b28e77f589a490335c8749a24151e1d8817.tar.gz cpython-65171b28e77f589a490335c8749a24151e1d8817.tar.bz2 |
#18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?=
The problem was I was only checking for decimal digits after the third '?',
not for *hex* digits :(.
This changeset also fixes a couple of comment typos, deletes an unused
function relating to encoded word parsing, and removed an invalid
'if' test from the folding function that was revealed by the tests
written to validate this issue.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -47,6 +47,10 @@ Core and Builtins Library ------- +- Issue #18044: The new email header parser was mis-parsing encoded words where + an encoded character immediately followed the '?' that follows the CTE + character, resulting in a decoding failure. They are now decoded correctly. + - Issue #18101: Tcl.split() now process strings nested in a tuple as it do with byte strings. |