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

Bug #4696 addAttachment crash
Submitted: 2005-06-28 08:27 UTC Modified: 2007-04-08 19:16 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    
Subscription  


 [2005-06-28 08: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));

Comments

 [2006-04-08 17:40 UTC] cipri (Cipriano Groenendal)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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