Open
Description
Version
2.6.24 and earlier
Installation method
Any
Expected behavior
When an image part with Content-Description field is archived, e.g.:
Content-type: image/jpeg; name="image.jpg"
Content-Description: This is a JPEG file
Content-Disposition: inline; filename="image.jpg"
Content-transfer-encoding: base64
XXXX
Output should contain the description, i.e.:
- For the inline image (
Content-Disposition: inline
):<p>This is a JPEG file</p> <p><a href="..." ><img src="..." alt="JPEG image"></a></p>
- For the attachment (
Content-Disposition: attachment
, or non-images):<p><strong>Attachment: <a href="..." ><tt>image.jpg</tt></a></strong><br> <em>Description:</em> This is a JPEG file</p>
Actual behavior
With inline image, Content-Description is omitted.
- For the inline image (
Content-Disposition: inline
):<p><a href="..." ><img src="..." alt="JPEG image"></a></p>