]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30532: Fix whitespace folding in certain cases (#2592)
authorJoel Hillacre <joel@403forbidden.ca>
Thu, 6 Jul 2017 21:29:09 +0000 (15:29 -0600)
committerR. David Murray <rdmurray@bitdance.com>
Thu, 6 Jul 2017 21:29:09 +0000 (17:29 -0400)
commit3bbdf990a2c1b0b303b950058e3177a1bd5f697a
treeb2ebc2b052ae6ab7547d4101590ee7545c0d4c70
parent710cc7667c27955272725729775cb39c40cca113
bpo-30532: Fix whitespace folding in certain cases (#2592)

Leading whitespace was incorrectly dropped during folding of certain lines in the _header_value_parser's folding algorithm.  This makes the whitespace handling code consistent.
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py
Misc/ACKS
Misc/NEWS.d/next/Library/2017-06-26-11-01-59.bpo-30532.qTeL1o.rst [new file with mode: 0644]