]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30532: Fix whitespace folding in certain cases
authorJoel Hillacre <joel@403forbidden.ca>
Mon, 26 Jun 2017 21:41:35 +0000 (15:41 -0600)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 26 Jun 2017 21:41:35 +0000 (17:41 -0400)
commitb350c22ebcbb891412e0b334afc9f0db19534e06
tree1b53241cf239c66a84da3c4d328d87ec7cd0b46a
parentf84ac420c2af98339678744953869cad3c253281
bpo-30532: Fix whitespace folding in certain cases

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]