6.0.0-alpha14
7/1/25

[#8981] "View HTML in new window" gives blank page for text/html message
Summary "View HTML in new window" gives blank page for text/html message
Queue IMP
Queue Version 4.3.4
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester robin.west (at) dal (dot) ca
Created 04/21/2010 (5550 days ago)
Due
Updated 07/02/2010 (5478 days ago)
Assigned 04/22/2010 (5549 days ago)
Resolved 04/22/2010 (5549 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/02/2010 07:02:37 PM Michael Slusarz Comment #5 Reply to this comment

[Show Quoted Text - 11 lines]
FWIW, I can view this message just fine in IMP 4.3.8/Horde 3.3.9.
04/30/2010 01:00:03 PM robin (dot) west (at) dal (dot) ca Comment #4
New Attachment: GlobeEdgeAlerts.eml Download
Reply to this comment
Hi - just to follow up on this ... I did a clean install of the latest 
versions on a windows PC (apache 2.2.15, php 5.3.2, horde 3.3.8, imp 
4.3.7). IMP is still giving me a blank window when select "view html 
in new window" on the attached message. I have tried it with tidy set 
to 'true' and 'false' in imp/mime_drivers.php, but no difference. The 
only messages in my PHP error log are warnings and deprecation 
notices, which appear for every page access so I don't think they're 
specific to this.

I guess the changes in IMP 5 have fixed this, but it seems to be a 
problem for previous versions.
04/22/2010 05:33:58 PM Michael Slusarz Comment #3
State ⇒ Not A Bug
Reply to this comment
My guess is either that you are/are not using tidy (whichever one Jan 
isn't using), which is altering that message to a point that our 
HTML/XSS filter is stripping out the entire body of the message, or 
that something has been fixed since IMP 4.3.4.

I can verify this displays correctly in IMP 5.  The entire HTML 
sanitizing process has already been rewritten in Horde 4/IMP 5 from 
regex based to XML parsing - this should prevent issues like this from 
ever happening in IMP 5.
04/22/2010 11:02:10 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
The message works perfectly fine for me.

Please follow the hints at 
http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod to generate and find 
a useful error message.
04/21/2010 03:29:59 PM robin (dot) west (at) dal (dot) ca Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ "View HTML in new window" gives blank page for text/html message
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
New Attachment: html_message.eml Download
State ⇒ Unconfirmed
Reply to this comment
Hi - Horde 3.3.4, IMP 4.3.4: attached is a text/html-encoded message 
which looks ok to me, and displays properly in Thunderbird. In IMP I 
see the text reasonably well in the message view page (although most 
of the formatting is understandably missing), but if I click "Show 
this HTML in a new window" it produces a completely blank page.

Can you take a quick look at the attached message and let me know if 
this is a problem with this specific message or whether IMP is not 
handling it correctly? Thanks.

-Robin

Saved Queries