[#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@layertec.de
Created 2018-02-01 (853 days ago)
Due
Updated 2018-02-01 (853 days ago)
Assigned
Resolved
Milestone
Patch No

Comments
admin@layertec.de 2018-02-01 10:23:46
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?