mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 00:35:51 +03:00
[GH-ISSUE #532] Bug: Deeplinks aren't clickable #341
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#341
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 @redeye-x1 on GitHub (Jun 30, 2025).
Original GitHub issue: https://github.com/axllent/mailpit/issues/532
Hi,
thank you for your great work.
I currently use Mailpit for testing my app (mail delivery, verification mails, and so on) and I've noticed something. If you use http or https links in the mail, it works fine. If you use deeplinks (to directly open routes in app) it makes the link unclickable:
For example this link:
Checking the HTML of the mail, I've recognized that the HREF of the link gets removed.
I've already tried setting
MP_ALLOW_UNTRUSTED_TLS: truebut that didn't help.
Any ideas?
@axllent commented on GitHub (Jun 30, 2025):
Hi @mago-x1. This is actually by design. The HTML is sanitised before it is rendered in the browser to remove potential nasty things like JavaScript. Although this is not a bug, your point is valid as this also blocks by default unrecognised link protocols like
myapp://. I have just pushed a change for this which will be available in a new release later this week (or potentially early next week). In the meantime however, if you use Docker, you can use the docker edge build (axllent/mailpit:edge) which has this change already.@redeye-x1 commented on GitHub (Jul 1, 2025):
@axllent just tried the edge build, works perfectly fine.
thank you for your fast help. love your work.
@axllent commented on GitHub (Jul 1, 2025):
Thank you for the feedback and the kind words ❤️