]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug #1347874; FeedParser does not comply with RFC2822.
authorBarry Warsaw <barry@python.org>
Tue, 17 Jan 2006 05:59:18 +0000 (05:59 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 17 Jan 2006 05:59:18 +0000 (05:59 +0000)
commitaad2234bfaa6c1f0bfa8251e9b2d1685377336f5
tree78ca548726b000d8687c4092db20abc51ff85239
parente87ccea16253c50ee9c24bd9ba4622c0bdfae2c6
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.  Backported from the trunk.
Lib/email/FeedParser.py
Lib/email/test/test_email.py