php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30334 Upper-case encoding's name doesn't get the body decoded
Submitted: 2004-10-06 10:10 UTC Modified: 2004-10-06 10:21 UTC
From: m_vitaly at topixoft dot com Assigned:
Status: Not a bug Package: *Mail Related
PHP Version: 4.3.8 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
34 + 22 = ?
Subscribe to this entry?

 
 [2004-10-06 10:10 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-06 10:21 UTC] tony2001@php.net
Please, report PEAR-related bugs to PEAR bug system (http://pear.php.net/bugs/).

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 01:01:28 2024 UTC