Attachment filename is cut on slash characterDescription:
------------
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.alec
alechttp://pear.php.net/bugs/19497
Mail_Mime Bug
Reported by alec
2012-07-09T12:20:23+00:00
PHP: Irrelevant OS: Package Version:
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.]]>Mail_Mime Bug
Reported by alec
2012-07-09T12:20:23+00:00
PHP: Irrelevant OS: Package Version:
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.]]>2012-07-09T12:20:23+00:00
alec [2012-07-09 12:43] http://pear.php.net/bugs/19497#1341837801
<div id="changeset">
<span class="removed">-Status: Open</span>
<span class="added">+Status: Closed</span>
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: alec</span>
</div>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.]]><div id="changeset">
<span class="removed">-Status: Open</span>
<span class="added">+Status: Closed</span>
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: alec</span>
</div>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.]]>2012-07-09T12:43:21+00:00