[Tickets #1621] Re: non-ASCII 7-bit message headers not RFC2047-encoded
bugs at horde.org
bugs at horde.org
Tue Sep 30 02:23:46 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/1621
------------------------------------------------------------------------------
Ticket | 1621
Updated By | hiromi at tac.tsukuba.ac.jp
Summary | non-ASCII 7-bit message headers not RFC2047-encoded
Queue | IMP
Version | HEAD
Type | Bug
State | Resolved
Priority | 2. Medium
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
hiromi at tac.tsukuba.ac.jp (2008-09-29 22:23) wrote:
Last change of MIME.php has a side-effect in the case of $charset is
iso-2022-jp,
it encodes us-ascii string too.
This is a sample (User-Agent is Internet Messaging Program (IMP) H3 (4.3)).
---
Content-Type: text/plain;
charset=ISO-2022-JP;
DelSp*="iso-2022-jp''Yes";
format*="iso-2022-jp''flowed"
User-Agent: =?iso-2022-jp?b?SW50ZXJuZXQg?=
=?iso-2022-jp?b?TWVzc2FnaW5nIA==?= =?iso-2022-jp?b?UHJvZ3JhbSA=?=
=?iso-2022-jp?b?KElNUCkg?= =?iso-2022-jp?b?SDMg?=
=?iso-2022-jp?b?KDQuMyk=?=
---
Please check the contents of string like this;
((stristr('iso-2022-jp', $charset) && strstr($string, "\x1b\$B"))
More information about the bugs
mailing list