PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Mail » Mail_mimeDecode » Bug #1724

ctype_parameters bug

Details

Submitted2004-06-26 00:10 UTC
Fromkenji at lotsofbytes dot com
Assignedsean
StatusClosed
PackageMail_mimeDecode
PHP Version4.3.4
OSLinux
Roadmaps(Not assigned)

Comments

[2004-06-26 00:10 UTC] kenji at lotsofbytes dot com

Description:
------------
When an email has an attached file and its filename is encoded in jis, its encoded filename often includes a semi-colon in the middle of the filename such as "^[$B4A;z^(B.txt". For that reason, when it is decoded by Mail_Mime,
ctype_parameters['name'] will have a partial text of the original filename.

[content-type] => application/octet-stream; name="^[$B4A;z^(B.txt"

[ctype_parameters] => Array (
[name] => ^[$B4
[] => ^[(B.txt"
)