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 #3667

case-sensitive decoding problem

Details

Submitted2005-03-02 10:58 UTC
Fromleefelix at pacific dot net dot hk
Assignedsean
StatusClosed
PackageMail_Mime
PHP VersionIrrelevant
OSSolaris9x86
Roadmaps(Not assigned)

Comments

[2005-03-02 10:58 UTC] leefelix at pacific dot net dot hk

Description:
------------
The mimeDecode.php tries to decode multipart messages based on the Content-Transfer-Encoding header, but it decides the way to decode it by some case-sensitive "case" statements. When it comes to mails with "Content-Transfer-Encoding: BASE64" (like email from PINE) mimeDecode.php does not know how to handle. The problem can simply be corrected by adding a few more case statements that catch "BASE64" or "QUOTED-PRINTABLE" as well... or can anyone got a better answer?