[Tickets #8393] charset problem in html file in attachment
bugs at horde.org
bugs at horde.org
Wed Jul 1 14:31:23 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8393
------------------------------------------------------------------------------
Ticket | 8393
Created By | patrick.guiran at linagora.com
Summary | charset problem in html file in attachment
Queue | IMP
Version | 4.3.2
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
+New Attachment | capture.jpg
------------------------------------------------------------------------------
patrick.guiran at linagora.com (2009-07-01 10:31) wrote:
When I send a mail with a HTML document as attachment, the XSS filter
remove all <meta> tag.
By removing the <meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"> tag, the content of the attachment isn't
displayed correctly, due to charset problem, as my browser is
configured with UTF-8 charset.
See the capture to see the problem.
To solve the problem, the only solution I have found is to disable the
XSS filter on <meta> tags, by commenting lines 146 to 150 of file
lib/Horde/Text/Filter/xss.php, ie. the definition of the <meta> tag
pattern, in the $malicious array.
Regard
Patrick,
More information about the bugs
mailing list