]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-100884: email/_header_value_parser: don't encode list separators (GH-100885...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 17 Feb 2024 13:01:02 +0000 (14:01 +0100)
committerGitHub <noreply@github.com>
Sat, 17 Feb 2024 13:01:02 +0000 (15:01 +0200)
commit70754d21c288535e86070ca7a6e90dcb670b8593
tree7f4956f4fde48a17aae2226c5caac0cb7b1bb15c
parentbc11905d48f66db7687866d82245177ebf4e5468
[3.11] gh-100884: email/_header_value_parser: don't encode list separators (GH-100885) (GH-115593)

ListSeparator should not be encoded. This could happen when a long line
pushes its separator to the next line, which would have been encoded.
(cherry picked from commit 09fab93c3d857496c0bd162797fab816c311ee48)

Co-authored-by: Thomas Weißschuh <thomas@t-8ch.de>
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]