[Python-Dev] RE: [spambayes-dev] bug in imap filter or in email package (original) (raw)

Barry Warsaw barry at python.org
Sat Aug 7 17:54:07 CEST 2004


On Wed, 2004-08-04 at 21:56, Tony Meyer wrote:

There has been a little bit of discussion on spambayes-dev about a bug with the 2.4a1 email package, where header lines that end with \r\n are not treated correctly (the value ends up with a \r at the end).

A SF bug was opened for this: [ 1002475 ] email message parser doesn't handle \r\n correctly <http://sf.net/tracker/?groupid=5470&atid=105470&func=detail&aid=1002475> I've created a patch to fix this, and a couple of tests to add to testemail.py: [ 1003693 ] Fix for 1002475 (Feedparser not handling \r\n correctly) <http://sf.net/tracker/index.php?func=detail&aid=1003693&groupid=5470&atid=_ _305470> If someone would like to review this and check it in after 2.4a2 is all done that would be great. Maybe someone at the bug day? (I might come along to that, but it's the middle of the night, so probably not).

Patch looks good to me. I'm checking them in (after a little stylistic hydrant-pissing :).

-Barry

-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20040807/be5d5348/attachment.pgp



More information about the Python-Dev mailing list