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.7098423e-05
Marked as misclassified No
Message-id <1228234559.58.0.381415224429.issue4491@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-12-02 16:15:59ishimotosetrecipients: + ishimoto
2008-12-02 16:15:59ishimotosetmessageid: <1228234559.58.0.381415224429.issue4491@psf.upfronthosting.co.za>
2008-12-02 16:15:58ishimotolinkissue4491 messages
2008-12-02 16:15:57ishimotocreate