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

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]