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

Bug #4696 addAttachment crash
Submitted: 2005-06-28 13:27 UTC
From: adax2000 at tlen dot pl Assigned: cipri
Status: Closed Package: Mail_Mime
PHP Version: 4.3.11 OS: linux
Roadmaps: 1.4.0, 1.4.0a1    
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.
2007-04-09 00:16 UTC
Bug Type:
From: adax2000 at tlen dot pl
New email:
PHP Version: Package Version: OS:


 [2005-06-28 13:27 UTC] adax2000 at tlen dot pl
Description: ------------ wenn magic_quotes_runtime are enabled attachment will be not properly encoded to base64, due to this email will have an atachment, but destroyed i described this problem already in php bugs #33494 so look there for futhere information the lines below should remove this problem Expected result: ---------------- mime.php line 295 if ($old=get_magic_quotes_runtime()) { set_magic_qutoes_runtime(0); } $cont = fread($fd, filesize($file_name)); if ($old) { set_magic_qutoes_runtime($old); } Actual result: -------------- mime.php line 295 $cont = fread($fd, filesize($file_name));


 [2006-04-08 22:40 UTC] cipri (Cipriano Groenendal)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Fixed in Mail/mime.php revision 1.45