[New-bugs-announce] [issue11728] mbox parser incorrect behaviour

valera report at bugs.python.org
Thu Mar 31 14:04:26 CEST 2011


New submission from valera <vmasutin at apache.org>:

mailbox.mbox  parser is splitting mbox files by "^From " pattern, which is wrong , in fairy it should split mbox by "\nFrom ".
Illustration:
------
>From bla-blah at localhost
Header1
Header2
body1
body2

>From blah-blah2 at localhost
Header1
body1
>From your dear friend
body3

------
This mbox would be splitted in 3 messages instead of 2

----------
components: Library (Lib)
messages: 132657
nosy: wally1980
priority: normal
severity: normal
status: open
title: mbox parser incorrect behaviour
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4

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


More information about the New-bugs-announce mailing list