#30334 [NEW]: Upper-case encoding's name doesn't get the body decoded

From: Date: Wed, 06 Oct 2004 08:10:10 +0000
Subject: #30334 [NEW]: Upper-case encoding's name doesn't get the body decoded
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67173@lists.php.net to get a copy of this message
From: m_vitaly at topixoft dot com Operating system: linux PHP version: 4.3.8 PHP Bug Type: *Mail Related Bug description: Upper-case encoding's name doesn't get the body decoded 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 bug report at http://bugs.php.net/?id=30334&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30334&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30334&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30334&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30334&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30334&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30334&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30334&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30334&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30334&r=support Expected behavior: http://bugs.php.net/fix.php?id=30334&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30334&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30334&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30334&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30334&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30334&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30334&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30334&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30334&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30334&r=mysqlcfg

« previous php.bugs (#67173) next »