mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-14 20:07:01 -05:00
Sanitize and sandbox toot embeds (#9552)
This commit is contained in:
@@ -77,6 +77,7 @@ class EmbedModal extends ImmutablePureComponent {
|
||||
className='embed-modal__iframe'
|
||||
frameBorder='0'
|
||||
ref={this.setIframeRef}
|
||||
sandbox='allow-same-origin'
|
||||
title='preview'
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user