[issue12515] email modifies the message structure when the parsed email is invalid

xavierd report at bugs.python.org
Wed Aug 17 15:04:06 CEST 2011


xavierd <xdelannoy at cloudmark.com> added the comment:

I also noticed that 'email' modifies the message structure when the header/body separator is missing. And nothing is added to the defect list.
In the attachment, you'll find : 
 - email.patch: this patch add the following error to the defects list :
   - the error 'email.errors.CloseBoundaryNotFoundDefect' when a boundary isn't closed.
   - the error 'email.errors.MissingHeaderBodySeparator' when the header/body isn't found
(patch for python 2.7.2)
 - orig.email: a email without a header/body separator

----------
Added file: http://bugs.python.org/file22918/email.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12515>
_______________________________________


More information about the Python-bugs-list mailing list