mirror of
https://github.com/HaschekSolutions/opentrashmail.git
synced 2026-04-25 06:35:55 +03:00
[GH-ISSUE #41] Attached images in HTML preview do not work #27
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentrashmail#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Cyberes on GitHub (May 9, 2022).
Original GitHub issue: https://github.com/HaschekSolutions/opentrashmail/issues/41
Attached images in HTML preview section do not render. Here is an example:
Image kinda big
The images'
srcis always a non-URL. For example:A fix for this issue is to rewrite the
imagetag'ssrcin the HTML preview section.cid:37686D32@F0369F32.19717862.jpgwould becomehttp://example.com/api.php?a=attachment&email=test@example.com&id=12345&filename=test.jpg.Also,
<and>is getting rendered inside the Raw Email section as HTML. These characters need to be escaped.@geek-at commented on GitHub (Nov 20, 2023):
implemented in v1.1.3