#32313 [Fbk->Opn]: mb_decode_mimeheader drops <> encoded parts
| From: | mortoray at ecircle-ag dot com | Date: | Wed, 16 Mar 2005 06:09:47 +0000 |
| Subject: | #32313 [Fbk->Opn]: mb_decode_mimeheader drops <> encoded parts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75387@lists.php.net to get a copy of this message | ||
ID: 32313
User updated by: mortoray at ecircle-ag dot com
Reported By: mortoray at ecircle-ag dot com
-Status: Feedback
+Status: Open
Bug Type: mbstring related
Operating System: Windows2000
PHP Version: 4.3.10
New Comment:
The snapshop provided does not contain an php_mbstring.dll, and thus
this function does not appear to be defined....
Previous Comments:
------------------------------------------------------------------------
[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