Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.6.3

Bug #16758 Messages splitted incorrectly
Submitted: 2009-11-02 17:04 UTC
From: alexeyshockov Assigned: cweiske
Status: Closed Package: Mail_Mbox (version 0.6.1)
PHP Version: 4.4.8 OS: FreeBSD
Roadmaps: (Not assigned)    

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 6 + 24 = ?

 [2009-11-02 17:04 UTC] alexeyshockov (Alexey Shockov)
Description: ------------ Messages splitted incorrectly, not according to the specification, which states that a sign of the new message is a blank line, followed by a line beginning with "From". In Mail_Mbox same is checked only "From". P.S. My patch is attached to the bug.


 [2009-11-02 17:06 UTC] alexeyshockov (Alexey Shockov)
 [2009-11-11 00:39 UTC] cweiske (Christian Weiske)
Sorry, you are incorrect. The specification ( states: > The reader should not attempt to take advantage of the fact that every > From_ line (past the beginning of the file) is preceded by a blank line.
 [2009-11-11 02:43 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
This bug has been fixed in version 0.6.2 of Mail_Mbox. The real problem was that messages with "From " in their message text were split. I implemented proper message escaping as defined by the specs, so this problem is gone.