<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/email, branch v3.2rc2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/email?h=v3.2rc2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/email?h=v3.2rc2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2011-01-26T21:21:32Z</updated>
<entry>
<title>#11019: Make BytesGenerator handle Message with None body.</title>
<updated>2011-01-26T21:21:32Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2011-01-26T21:21:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7372a07fd0eb8e32fe9d03ee5a56ecc14788dfb0'/>
<id>urn:sha1:7372a07fd0eb8e32fe9d03ee5a56ecc14788dfb0</id>
<content type='text'>
Bug discovery and initial patch by Victor Stinner.
</content>
</entry>
<entry>
<title>Revert r88197.  I'll refix correctly once there is a test.</title>
<updated>2011-01-26T02:31:37Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2011-01-26T02:31:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bdd2d93bfebbfcc90b2e08c7400b4b41814f70e7'/>
<id>urn:sha1:bdd2d93bfebbfcc90b2e08c7400b4b41814f70e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix BytesGenerator._handle_text() if the message has no payload (None)</title>
<updated>2011-01-26T00:39:19Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-01-26T00:39:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3a7ee3ab5a251f440e8094b649f7592cf342c2d2'/>
<id>urn:sha1:3a7ee3ab5a251f440e8094b649f7592cf342c2d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix import in email.message_from_binary_file()</title>
<updated>2011-01-25T23:15:47Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-01-25T23:15:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0c4cc559cbef20a917367415af011c29ce6d334e'/>
<id>urn:sha1:0c4cc559cbef20a917367415af011c29ce6d334e</id>
<content type='text'>
Parser =&gt; BytesParser
</content>
</entry>
<entry>
<title>#5871: protect against header injection attacks.</title>
<updated>2011-01-09T02:35:24Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2011-01-09T02:35:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5b2d9ddf69cecfb9ad4e687fab3f34ecc5a9ea4f'/>
<id>urn:sha1:5b2d9ddf69cecfb9ad4e687fab3f34ecc5a9ea4f</id>
<content type='text'>
This makes Header.encode throw a HeaderParseError if it winds up
formatting a header such that a continuation line has no leading
whitespace and looks like a header.  Since Header accepts values
containing newlines and preserves them (and this is by design), without
this fix any program that took user input (say, a subject in a web form)
and passed it to the email package as a header was vulnerable to header
injection attacks.  (As far as we know this has never been exploited.)

Thanks to Jakub Wilk for reporting this vulnerability.
</content>
</entry>
<entry>
<title>#10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s.</title>
<updated>2011-01-07T23:25:30Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2011-01-07T23:25:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9253214fd9fe22b8b2b4ca5bb28952df8cab3e8c'/>
<id>urn:sha1:9253214fd9fe22b8b2b4ca5bb28952df8cab3e8c</id>
<content type='text'>
This applies only when generating strings from non-RFC compliant binary
input; it makes the existing recoding behavior more consistent (ie:
now no data is lost when recoding).
</content>
</entry>
<entry>
<title>Fix formatting of values with embedded newlines when rfc2047 encoding</title>
<updated>2011-01-07T21:57:25Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2011-01-07T21:57:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f0022d84af15d51ffa1606991f2b6e9e56448ed'/>
<id>urn:sha1:6f0022d84af15d51ffa1606991f2b6e9e56448ed</id>
<content type='text'>
Before this patch if a value being encoded had an embedded newline,
the line following the newline would have no leading whitespace,
and the whitespace it did have was encoded into the word.  Now
the existing whitespace gets turned into a blank, the way it does
in other header reformatting, and the _continuation_ws gets added
at the beginning of the encoded line.
</content>
</entry>
<entry>
<title>Remove doc for nonexisting parameter.</title>
<updated>2011-01-06T09:15:45Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2011-01-06T09:15:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e98628d60c6fed3cd668901755605dda6fee6dc6'/>
<id>urn:sha1:e98628d60c6fed3cd668901755605dda6fee6dc6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#10790: make append work when output codec is different from input codec</title>
<updated>2011-01-05T01:39:32Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2011-01-05T01:39:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=477efb394412314d47fdfb3f7c287edb028809c0'/>
<id>urn:sha1:477efb394412314d47fdfb3f7c287edb028809c0</id>
<content type='text'>
There's still a bug here (the encode call shouldn't use the 'errors'
paramter), but I'll fix that later.
</content>
</entry>
<entry>
<title>Fix a comment typo and update another comment to match Python3 reality</title>
<updated>2010-12-29T16:57:24Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-12-29T16:57:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4c1da4c2a86769383500a10904c75e43e7ad1137'/>
<id>urn:sha1:4c1da4c2a86769383500a10904c75e43e7ad1137</id>
<content type='text'>
</content>
</entry>
</feed>
