#32313 [Opn->Fbk]: mb_decode_mimeheader drops <> encoded parts
| From: | iliaa@php.net | Date: | Thu, 17 Mar 2005 17:09:21 +0000 |
| Subject: | #32313 [Opn->Fbk]: mb_decode_mimeheader drops <> encoded parts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75441@lists.php.net to get a copy of this message | ||
ID: 32313
Updated by: iliaa@php.net
Reported By: mortoray at ecircle-ag dot com
-Status: Open
+Status: Feedback
Bug Type: mbstring related
Operating System: Windows2000
PHP Version: 4.3.10
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-03-16 07:09:46] mortoray at ecircle-ag dot com
The snapshop provided does not contain an php_mbstring.dll, and thus
this function does not appear to be defined....
------------------------------------------------------------------------
[2005-03-16 00:45:44] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2005-03-15 11:06:22] mortoray at ecircle-ag dot com
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 this bug report at http://bugs.php.net/?id=32313&edit=1