cpython/Lib/email
R. David Murray 63563cdf9d #9286: Fix the rfc822 parser to preserve whitespace in address local part.
Such addresses are not RFC compliant except under the 'obsolete syntax'
rules, but before this fix the whitespace was dropped from the input,
concatenating the pieces.  That breaks one of the principles of the
email package, that of preserving the input as much as possible.
It also denies the application program the opportunity to apply its
own heuristics to interpretation of such non-compliant addresses.

It is possible users of the email package were depending on the local
part always being a single token, so this fix will not be backported.
2010-12-18 18:25:38 +00:00
..
mime Merged revisions 73004,73439,73496,73509,73529,73564,73576-73577,73595-73596,73605 via svnmerge from 2009-06-28 17:22:03 +00:00
test #9286: Fix the rfc822 parser to preserve whitespace in address local part. 2010-12-18 18:25:38 +00:00
__init__.py #4661: add bytes parsing and generation to email (email version bump to 5.1.0) 2010-10-08 15:55:28 +00:00
_parseaddr.py #9286: Fix the rfc822 parser to preserve whitespace in address local part. 2010-12-18 18:25:38 +00:00
base64mime.py Issue #4770: Restrict binascii module to accept only bytes (as specified). 2010-07-27 21:20:15 +00:00
charset.py Fix Charset.body_encode to encode to output_charset before calling base64mime. 2010-06-03 01:58:28 +00:00
encoders.py #4768: store base64 encoded email body parts as text, not binary. 2010-06-04 16:11:08 +00:00
errors.py Copying the email package back, despite its failings. 2007-08-30 01:15:14 +00:00
feedparser.py #4661: add bytes parsing and generation to email (email version bump to 5.1.0) 2010-10-08 15:55:28 +00:00
generator.py #243654: only create a new MIME boundary if we don't already have one. 2010-12-12 20:06:19 +00:00
header.py #1349106: add linesep argument to generator.flatten and header.encode. 2010-10-23 22:19:56 +00:00
iterators.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
message.py #1078919: make add_header automatically do RFC2231 encoding when needed. 2010-12-13 23:51:19 +00:00
parser.py Properly close a temporary TextIOWrapper in 'email'. 2010-10-29 23:08:13 +00:00
quoprimime.py #10004: in Q encoded word ignore '=xx' when xx is not valid hex. 2010-10-01 15:40:20 +00:00
utils.py #8989: add 'domain' keyword to make_msgid. 2010-12-02 21:47:19 +00:00