]> granicus.if.org Git - python/commit
#1079: Fix parsing of encoded words.
authorR David Murray <rdmurray@bitdance.com>
Sat, 2 Jun 2012 21:56:49 +0000 (17:56 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sat, 2 Jun 2012 21:56:49 +0000 (17:56 -0400)
commit07ea53cb218812404cdbde820647ce6e4b2d0f8e
tree153fbb31a5056379715475ed55a5c91a0fcbd8a9
parente11eb0f21b8107d7cf61efd37ff3555258577d51
#1079: Fix parsing of encoded words.

This is a behavior change: before this leading and trailing spaces were
stripped from ASCII parts, now they are preserved.  Without this fix we didn't
parse the examples in the RFC correctly, so I think breaking backward
compatibility here is justified.

Patch by Ralf Schlatterbeck.
Lib/email/header.py
Lib/nntplib.py
Lib/test/test_email/test_asian_codecs.py
Lib/test/test_email/test_email.py
Misc/NEWS