#30334 [Opn->Bgs]: Upper-case encoding's name doesn't get the body decoded
| From: | tony2001@php.net | Date: | Wed, 06 Oct 2004 08:21:24 +0000 |
| Subject: | #30334 [Opn->Bgs]: Upper-case encoding's name doesn't get the body decoded | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67174@lists.php.net to get a copy of this message | ||
ID: 30334
Updated by: tony2001@php.net
Reported By: m_vitaly at topixoft dot com
-Status: Open
+Status: Bogus
Bug Type: *Mail Related
Operating System: linux
PHP Version: 4.3.8
New Comment:
Please, report PEAR-related bugs to PEAR bug system
(http://pear.php.net/bugs/).
Previous Comments:
------------------------------------------------------------------------
[2004-10-06 10:10:08] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30334&edit=1