]> granicus.if.org Git - python/commit
SF bug #1347874; FeedParser does not comply with RFC2822.
authorBarry Warsaw <barry@python.org>
Tue, 17 Jan 2006 05:58:08 +0000 (05:58 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 17 Jan 2006 05:58:08 +0000 (05:58 +0000)
commit615320127428bc97c1e1dd96cf4ac5c8f407554c
tree2723d3bd37fc10c461e84038c0bf6fc4829277cc
parent20bad74d6394a0e9ee82d776b8e4b93de352214a
SF bug #1347874; FeedParser does not comply with RFC2822.

Change headerRE as suggested in the bug report, so that single character
headers are accepted.  Test case added too.  Will backport to Python 2.4.
Lib/email/FeedParser.py
Lib/email/test/test_email.py