Skip to content

fix: add sandbox for iframe#13088

Open
GretaD wants to merge 1 commit into
mainfrom
fix/add-sandbox-msg-body
Open

fix: add sandbox for iframe#13088
GretaD wants to merge 1 commit into
mainfrom
fix/add-sandbox-msg-body

Conversation

@GretaD

@GretaD GretaD commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The message body in an <iframe> has seamless but no sandbox. This pr adds the sandbox.

Signed-off-by: greta <gretadoci@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a sandbox policy to the message <iframe> to improve isolation of rendered HTML email content.

Changes:

  • Adds a sandbox attribute to the message iframe with specific allowances for same-origin access and popups.

:title="t('mail', 'Message frame')"
:src="url"
seamless
sandbox="allow-same-origin allow-popups allow-popups-to-escape-sandbox"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants