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

Bug #8299 Library unable to process messages without body
Submitted: 2006-07-26 07:05 UTC Modified: 2009-06-08 06:23 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  


 [2006-07-26 07: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 06: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.