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    
Subscription  
Comments Add Comment Add patch


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 : 8 + 7 = ?

 
 [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));

Comments

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