This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ishimoto
Recipients ishimoto
Date 2008-12-02.16:15:57
SpamBayes Score 3.70984e-05
Marked as misclassified No
Message-id <>
email.Header.decode_header() doesn't work if encoded-word was separeted
by CRLF. 

For exmaple, decode_header('=?iso-8859-1?q?hello?=\r\n world.') returns
[('=?iso-8859-1?q?hello?=\r\n world.', None)], not [('hello',
'iso-8859-1'), (' world.', None)].

This bug was caused by rev.54371, bug #1582282. I attached a patch to
fix problem and test-case.
Date User Action Args
2008-12-02 16:15:59ishimotosetrecipients: + ishimoto
2008-12-02 16:15:59ishimotosetmessageid: <>
2008-12-02 16:15:58ishimotolinkissue4491 messages
2008-12-02 16:15:57ishimotocreate