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

Bug #19497 Attachment filename is cut on slash character
Submitted: 2012-07-09 17:20 UTC
From: alec Assigned: alec
Status: Closed Package: Mail_Mime
PHP Version: Irrelevant OS:
Roadmaps: 1.8.6    
Subscription  


 [2012-07-09 17:20 UTC] alec (Aleksander Machniak)
Description: ------------ When attachment name contains a slash character the name is cut on it. So, filename "This is/file name.txt" is sent as "file name.txt". In addAttachment() _basename() method should be used only on $file argument, not $name.

Comments

 [2012-07-09 17:43 UTC] alec (Aleksander Machniak)
-Status: Open +Status: Closed -Assigned To: +Assigned To: alec
This bug has been fixed in SVN. 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.