mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 00:35:51 +03:00
[GH-ISSUE #22] Clicking on URL raises "Content Security Policy «frame-src»" error #21
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#21
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 @antonkomarev on GitHub (Nov 17, 2022).
Original GitHub issue: https://github.com/axllent/mailpit/issues/22
When clicking on URL in email we are getting CSP error in console (and link not opening).
This issue could be solved by force open all links in new tab.
@axllent commented on GitHub (Nov 17, 2022):
Thanks for raising this @antonkomarev - it used to work fine and in the last release I managed to break it :) All links in an email should get the
target="_blank"appended to them via JavaScript after the iframe loads, but this is firing too quickly before the DOM has loaded (due to the last change). I will fix this very soon.@axllent commented on GitHub (Nov 18, 2022):
Thanks again for the bug report. This has been fixed in v1.2.9 👍