]> granicus.if.org Git - python/commit
bpo-36520: Email header folded incorrectly (#13608)
authorwebsurfer5 <49998481+websurfer5@users.noreply.github.com>
Thu, 6 Jun 2019 19:53:27 +0000 (12:53 -0700)
committerBarry Warsaw <barry@python.org>
Thu, 6 Jun 2019 19:53:27 +0000 (12:53 -0700)
commitf6713e84afc5addcfa8477dbdf2c027787f711c0
tree0102e1ffc13da4bf9c0b0acb39c6729cfae8a377
parente0c0c7e8c9f8153a54b92e43aa3d09e69a9fd0c0
bpo-36520: Email header folded incorrectly (#13608)

* bpo-36520: reset the encoded word offset when starting a new
line during an email header folding operation

* ðŸ“œðŸ¤– Added by blurb_it.

* bpo-36520: add an additional test case, and provide descriptive
comments for the test_folding_with_utf8_encoding_* tests

* bpo-36520: fix whitespace issue

* bpo-36520: changes per reviewer request -- remove extraneous
backslashes; add whitespace between terminating quotes and
line-continuation backslashes; use "bpo-" instead of
"issue #" in comments
Lib/email/_header_value_parser.py
Lib/test/test_email/test_message.py
Misc/NEWS.d/next/Library/2019-05-28-02-37-00.bpo-36520.W4tday.rst [new file with mode: 0644]