SpartaSystems / holdmail

HoldMail is a Java Application for proxying SMTP mail, providing a browsable viewer for captured emails.
Apache License 2.0
32 stars 15 forks source link

MessageSummary html doesn't process inline content URLs #43

Closed barryoneill closed 6 years ago

barryoneill commented 6 years ago
Question/Issue Overview

In the message summary, the HTML is not preprocessed for inline content, so if that HTML is rendered by the webapp, the inline content will not display.

Expected Behavior

When you query GET /rest/messages/ID/html, the HTML returned is preprocessed so that all CID:tokens are replaced with /rest/messages/ID/content/, so that clients can fetch the inline content for display.

However, the HTML returned in the messageBodyHTML is not preprocessed, and therefore contains the original CID: tokens. This is useless to any client trying to render that HTML.

barryoneill commented 6 years ago

Fixed with https://github.com/SpartaSystems/holdmail/pull/44