6.0.0-alpha10
5/14/25

[#14774] 404 for OpenDocument embedded pictures in preview
Summary 404 for OpenDocument embedded pictures in preview
Queue Horde Framework Packages
Type Bug
State Unconfirmed
Priority 2. Medium
Owners
Requester admin (at) layertec (dot) de
Created 02/01/2018 (2659 days ago)
Due
Updated 02/01/2018 (2659 days ago)
Assigned
Resolved
Milestone
Patch No

History
02/01/2018 10:23:46 AM admin (at) layertec (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ 404 for OpenDocument embedded pictures in preview
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
Reply to this comment
When opening an email attached OpenDocument containing a picture, the 
generated HTML preview contains an image-tag with an imp-relative 
image resource path, which can not be resolved: HTTP status 404.

The preview base URL reads (hostname obfuscated): 
https://webmail.acme.com/imp/view.php?actionID=view_attach&id=2&muid=...

The HTML-source-code of the generated preview reads:
<!--This file was converted to xhtml by OpenOffice.org - see 
http://xml.openoffice.org/odf2xhtml for more info.-->
<!-- ... -->
<img style="height:15.004cm;width:10.029cm;" alt="" 
src="./Pictures/100002010000017B000002371EF2A25AAD87F86D.png"/>
<!-- ... -->

I could not find an image file. Neither in
* /var/www/horde/imp/**
nor
* /tmp/.horde/**
nor
* /tmp/

Shouldn't the image be converted to a base64 data-source? Or is there 
a special rewrite rule required?

Saved Queries