]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100884: email/_header_value_parser: don't encode list separators (GH-100885)
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 17 Feb 2024 10:13:46 +0000 (11:13 +0100)
committerGitHub <noreply@github.com>
Sat, 17 Feb 2024 10:13:46 +0000 (10:13 +0000)
commit09fab93c3d857496c0bd162797fab816c311ee48
tree3285ab2965952b5685bb70c72525fcef44807a05
parent465db27cb983084e718a1fd9519b2726c96935cb
gh-100884: email/_header_value_parser: don't encode list separators (GH-100885)

ListSeparator should not be encoded. This could happen when a long line
pushes its separator to the next line, which would have been encoded.
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py
Misc/NEWS.d/next/Library/2023-01-09-14-08-02.gh-issue-100884.DcmdLl.rst [new file with mode: 0644]