diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-02-01 20:59:28 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-02-01 20:59:28 +0100 |
commit | 098f2bc1e1531a3b3b799e2c58c9a356d4fd253c (patch) | |
tree | df3b5b319976a49ab683a2b0695b6d828f390f9f /public | |
parent | d6f3261c6cb810ea4eb6f74b9ee62af0d94cbd52 (diff) | |
parent | d0d15bf49c52c8329e3333397a9fc5d22341673a (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'public')
-rw-r--r-- | public/embed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/embed.js b/public/embed.js index dac507453..d597fd33c 100644 --- a/public/embed.js +++ b/public/embed.js @@ -15,7 +15,7 @@ window.addEventListener('message', function(e) { var data = e.data || {}; - if (data.type !== 'setHeight' || !iframes[data.id]) { + if (data.type !== 'setHeight' || !iframes[data.id] || window.location.origin !== e.origin || data.id.toString() === '__proto__') { return; } |