#14983: always add a line end after a MIME boundary marker.
authorR David Murray <rdmurray@bitdance.com>
Sat, 8 Feb 2014 22:54:56 +0000 (17:54 -0500)
committerR David Murray <rdmurray@bitdance.com>
Sat, 8 Feb 2014 22:54:56 +0000 (17:54 -0500)
commite9c31470e1680b7c9b9ee83c378b891e90ac58ab
treea70d2c26d0f9bac95a0cab4bd74d93fc7ef3a35c
parent409ea5dac1bc9fb408b7ae27c57132dec5a7f9b6
#14983: always add a line end after a MIME boundary marker.

This is more RFC compliant (see issue) and fixes a problem with
signature verifiers rejecting the part when signed.  There is some
amount of backward compatibility concern here since it changes
the output, but the RFC issue coupled with fixing the problem
with signature verifiers seems worth the small risk of breaking
code that depends on the current incorrect output.
Lib/email/generator.py
Lib/test/test_email/data/msg_02.txt
Lib/test/test_email/test_email.py
Misc/NEWS