[Python-bugs-list] [ python-Bugs-592489 ] CRLF ignored in package email

noreply@sourceforge.net noreply@sourceforge.net
Thu, 08 Aug 2002 05:56:00 -0700


Bugs item #592489, was opened at 2002-08-08 04:11
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=592489&group_id=5470

Category: Python Library
Group: Python 2.2.1
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Jan Rosczak (rosczak)
>Assigned to: Barry A. Warsaw (bwarsaw)
Summary: CRLF ignored in package email

Initial Comment:
When parsing a MIME message with the class
email.Parser.Parser the different body parts are not
separated correctly if the boundary strings are
enclosed with CRLF as demanded by RFC2046. 

The Parser class only works with the '\n' character.
Reading RFC2046
I would expect it to use '\r\n' instead.

I am using Python 2.2.1 on Redhat Linux 7.3

----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-08-08 08:56

Message:
Logged In: YES 
user_id=12800

You can either grab the standalone version in the mimelib
project

http://sf.net/projects/mimelib

or wait until Python 2.3.  email package 2.2 recognizes all
types of common line endings.  It's likely that email 2.2
will be backported to Python 2.2.2 if there is one.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=592489&group_id=5470