PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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"
)