6.0.0-beta1
8/14/25

[#6891] HTML messages created with IMP and FCKEDIT have formatting stripped while viewing with IE6/7
Summary HTML messages created with IMP and FCKEDIT have formatting stripped while viewing with IE6/7
Queue IMP
Queue Version 4.2
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester liamr (at) umich (dot) edu
Created 06/10/2008 (6274 days ago)
Due
Updated 06/30/2008 (6254 days ago)
Assigned 06/10/2008 (6274 days ago)
Resolved 06/30/2008 (6254 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/30/2008 06:55:59 PM Chuck Hagenbuch Comment #5
State ⇒ Not A Bug
Reply to this comment
Not closing out the possibility of doc improvements, but we can either 
reopen this, or you can post them elsewhere.
06/12/2008 06:32:07 PM Chuck Hagenbuch Comment #4 Reply to this comment
Is this documented someplace?  (e.g. "When using IE, we strip some
formating because IE allows JS to be embedded in style
information...")
Probably not anywhere user-visible. Suggestions on where that might 
usefully go would be welcome.
06/10/2008 07:45:18 PM liamr (at) umich (dot) edu Comment #3 Reply to this comment
Ah.



Is this documented someplace?  (e.g. "When using IE, we strip some 
formating because IE allows JS to be embedded in style information...")



Mostly, I think our help desk was expecting the same messages to be 
displayed the same across browsers.. and I was surprised that IMP + IE 
was filtering some stuff in the name of XSS protection, when it wasn't 
on other browsers.
06/10/2008 07:26:01 PM Chuck Hagenbuch Comment #2
Summary ⇒ HTML messages created with IMP and FCKEDIT have formatting stripped while viewing with IE6/7
State ⇒ Feedback
Reply to this comment
What's the bug/action here though? IE allows javascript in inline 
styles (expression: ...), so we have to strip them.
06/10/2008 07:16:08 PM liamr (at) umich (dot) edu Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ HTML messages created with IMP and FCKEDIT have formatting stripped while viewing with IE6/7
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
New Attachment: formatting-samples.tar.gz Download
State ⇒ Unconfirmed
Reply to this comment
If you receive an HTML formatted message created in IMP..  when you 
view it in IE6/7, IMP will strip some of the formatting in the name of 
protecting us from XSS...



<h1><span XSSCleaned="color: rgb(255, 0, 0);"><strong>

<span XSSCleaned="font-size: xx-large;">

<span XSSCleaned="font-family: Verdana;">Red<br />

</span></span></strong></span></h1>



You can view the message properly using the same IMP installation and 
other browsers / platforms.   The problem mostly seems to be with 
"spans" and "styles".  I've also seen it strip formatting from 
Mail.app messages.

Saved Queries