Summary | Problems with japanese charset ( ISO-2022-JP ) |
Queue | IMP |
Queue Version | 6.0.3 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | aarno.sandvik (at) helsinki (dot) fi |
Created | 02/04/2013 (4534 days ago) |
Due | |
Updated | 02/05/2013 (4533 days ago) |
Assigned | 02/05/2013 (4533 days ago) |
Resolved | 02/05/2013 (4533 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
2.0.5 of the Horde_Text_Filter package.
commit 0af57458e802cdc68f187295c3736c372c011a94
Author: Michael M Slusarz <slusarz@horde.org>
Date: Tue Feb 5 11:18:52 2013 -0700
[mms] Fix XSS filter removing control characters that cause
certain charsets (ISO-2022-JP) to break (
Bug #12015)..../Text_Filter/lib/Horde/Text/Filter/Xss.php | 36
--------------------
framework/Text_Filter/package.xml | 4 +-
.../Text_Filter/test/Horde/Text/Filter/XssTest.php | Bin 23500 ->
23372 bytes
3 files changed, 2 insertions(+), 38 deletions(-)
http://git.horde.org/horde-git/-/commit/0af57458e802cdc68f187295c3736c372c011a94
that is having issues.
State ⇒ Assigned
Assigned to Michael Slusarz
New Attachment: source.eml
please upload again with an ascii filename?
New Attachment: ???????.eml
State ⇒ Feedback
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Problems with japanese charset ( ISO-2022-JP )
Type ⇒ Bug
Priority ⇒ 1. Low
dynamic view. The text is somehow garbled in preview and message.php
but shows correctly in reply- and forward-views.
Here's an example of a broken message as it's shown in IMP:
Content-Type: multipart/alternative; boundary=f46d0421a95b0e123a04d4e22c32
--f46d0421a95b0e123a04d4e22c32
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
$B%F%-%9%H!"$*$h(B
--f46d0421a95b0e123a04d4e22c32
Content-Type: text/html; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
<div dir="ltr">$B%F%-%9%H!"$*$h(B<br></div>
--f46d0421a95b0e123a04d4e22c32--
Here's the same message source as it's seen in thunderbird:
Content-Type: multipart/alternative; boundary=f46d0421a95b0e123a04d4e22c32
--f46d0421a95b0e123a04d4e22c32
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
???????
--f46d0421a95b0e123a04d4e22c32
Content-Type: text/html; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
<div dir="ltr">???????<br></div>
--f46d0421a95b0e123a04d4e22c32--