]> cat aescling's git repositories - mastodon.git/commit
Sandbox toot embeds in the embed modal
authorThibaut Girka <thib@sitedethib.com>
Mon, 17 Dec 2018 20:42:18 +0000 (21:42 +0100)
committerThibG <thib@sitedethib.com>
Mon, 17 Dec 2018 21:22:29 +0000 (22:22 +0100)
commit36d27e289177fdec5332539c94b8192022a412f2
treeac65f54a51d4c63eedb97ca734bef4ed2a8e2cce
parent30de4e4dfccfde6e8fffce40fb7c1e47b06dc3be
Sandbox toot embeds in the embed modal

It should not be necessary thanks to our Content Security Policy, but best
be sure in case a server's CSP is incorrect. Also, avoids a CSP warning about
loading remote scripts.
app/javascript/flavours/glitch/features/ui/components/embed_modal.js