[PATCH] [3.11] gh-100884: email/_header_value_parser: don't encode list separators...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 17 Feb 2024 13:01:02 +0000 (14:01 +0100)
committerSean Whitton <spwhitton@spwhitton.name>
Thu, 20 Mar 2025 02:07:39 +0000 (10:07 +0800)
commita5cac0ac49d305eecf8e5347aac556a3ec4b4d74
tree2a8bb75cab494006721bbb03f92fcb6f62719e81
parent15c9294f03348b4b5ec213dd87006fefcc953e7e
[PATCH] [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>
(cherry picked from commit 70754d21c288535e86070ca7a6e90dcb670b8593)

Gbp-Pq: Name CVE-2025-1795-1.patch
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py