PEAR is archived and read-only

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

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.