|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35700 mb_encode_mimeheader encodes some words to wrong words.
Submitted: 2005-12-16 07:14 UTC Modified: 2005-12-24 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: tekezo at tkym dot org Assigned:
Status: No Feedback Package: mbstring related
PHP Version: 4.4.1 OS: Linux & FreeBSD
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-12-16 07:14 UTC] tekezo at tkym dot org
mb_encode_mimeheader encode "?N" to "t".

Reproduce code:
$enc_str = mb_encode_mimeheader("?N");
$dec_str = mb_decode_mimeheader($enc_str);
print $dec_str . "\n";

Expected result:
print "?N"

Actual result:
print "t"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-16 11:42 UTC]
Can't reproduce with both 4.4.2-dev and 5.1.2-dev.
 [2005-12-24 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Feb 28 10:01:26 2020 UTC