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_Mime » Bug #2477

Upper-case encoding's name doesn't get the body decoded

Details

Submitted2004-10-07 21:13 UTC
Fromm_vitaly at topixoft dot com
StatusDuplicate
PackageMail_Mime
PHP Version4.3.8
OSlinux
Roadmaps(Not assigned)

Comments

[2004-10-07 21:13 UTC] m_vitaly at topixoft dot com

Description:
------------
on "_decodeBody($input, $encoding = '7bit')" function in "mimeDecode.php"

the line "switch($encoding) {"
whould be "switch(strtolower($encoding)) {"

Reproduce code:
---------------
When the transfer encoding of the attachemnt is in uppercase
the body doesn't get decoded.