]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 10 Jan 2024 12:54:36 +0000 (14:54 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jan 2024 12:54:36 +0000 (14:54 +0200)
commite9d5b6ea2d68564f176fdf70c2d7028e060c62b5
treec309da0c1f4a51289b8c7ff6f581c68783c08329
parent568d220993fa9b4b812ff1b425edd80dbe17dda9
gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730)

It occurred when try to re-encode an unknown-8bit part combined with non-unknown-8bit part.
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py
Misc/NEWS.d/next/Library/2024-01-05-12-42-07.gh-issue-113594.4t8HiR.rst [new file with mode: 0644]