#20633 [Opn->Asn]: '_decodeBody()' of PEAR/Mail/mimeDecode.php is processed by case-sensitive.
| From: | derick@php.net | Date: | Wed, 26 Feb 2003 20:43:22 +0000 |
| Subject: | #20633 [Opn->Asn]: '_decodeBody()' of PEAR/Mail/mimeDecode.php is processed by case-sensitive. | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-13944@lists.php.net to get a copy of this message | ||
ID: 20633
Updated by: derick@php.net
Reported By: mtak at beyondnetworks dot co dot jp
-Status: Open
+Status: Assigned
Bug Type: PEAR related
Operating System: RedHat7.3
PHP Version: 4.3.0RC1
-Assigned To: richard@php.net
+Assigned To: richard
New Comment:
Assign this properly.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-11-25 20:33:52] mtak at beyondnetworks dot co dot jp
Mail_mime-1.2.1
mimeDecode.php v1.34
-- not included php4.3.0RC1
'content-transfet-encoding: BASE64' does not work.
The value is defined as case-insensitive by RFC1521.
...diff...
--- mimeDecode.php Sat Jul 27 23:37:53 2002
+++ mimeDecode.new Tue Nov 26 11:19:24 2002
@@ -522,7 +522,7 @@
*/
function _decodeBody($input, $encoding = '7bit')
{
- switch ($encoding) {
+ switch (strtolower($encoding)) {
case '7bit':
return $input;
break;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20633&edit=1