#32313 [NEW]: mb_decode_mimeheader drops <> encoded parts

From: Date: Tue, 15 Mar 2005 10:06:23 +0000
Subject: #32313 [NEW]: mb_decode_mimeheader drops <> encoded parts
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75366@lists.php.net to get a copy of this message
From: mortoray at ecircle-ag dot com Operating system: Windows2000 PHP version: 4.3.10 PHP Bug Type: mbstring related Bug description: mb_decode_mimeheader drops <> encoded parts Description: ------------ mb_decode_mimeheader appears to be dropping parts of the input string if encoded in angle brackets. mb_encode_mimeheader also appears to drop these bracketed sections. Reproduce code: --------------- $text .= '=?iso-8859-1?q?this=20is=20some=20text?= <more after space>'; print( mb_decode_mimeheader( $text ) ); Expected result: ---------------- this is some text <more after space> Actual result: -------------- this is some text -- Edit bug report at http://bugs.php.net/?id=32313&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32313&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32313&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32313&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32313&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32313&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32313&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32313&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32313&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32313&r=support Expected behavior: http://bugs.php.net/fix.php?id=32313&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32313&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32313&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32313&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32313&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32313&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32313&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32313&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32313&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32313&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32313&r=mysqlcfg

« previous php.bugs (#75366) next »