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  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2009-06-08 11:23 UTC
Package:
Bug Type:
Summary:
From: alexei at net24 dot co dot nz
New email:
PHP Version: Package Version: OS:

 

 [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.