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

Bug #8299 Library unable to process messages without body
Submitted: 2006-07-26 12:05 UTC
From: alexei at net24 dot co dot nz Assigned:
Status: Feedback Package: Mail_mimeDecode (version CVS)
PHP Version: 5.1.3 OS:
Roadmaps: 1.6.0    
Subscription  


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:
MUST BE VALID
Solve the problem : 1 + 19 = ?

 
 [2006-07-26 12:05 UTC] alexei at net24 dot co dot nz (Alexei)
Description: ------------ Message body and \r\n separating it from headers is not compulsory part of the message according to RFC822. There're situations when i get messages consisting of only headers, no "\r\nBODY" included. However function _splitBodyHeader is unaware of such situations and returns an error instead of returning headers and empty (null) body

Comments

 [2009-06-08 11:23 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
regex is overkill here, and that can cause E_NOTICEs. If you can redo the patch also with cvs diff -u.