1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:55:55 +00:00

detect whether browser supports iframe.sandbox and allow iframes accordingly; allow object and embed elements

This commit is contained in:
Andrew Dolgov
2013-03-19 12:49:55 +04:00
parent 55783ca45c
commit 4f7d69e185
3 changed files with 7 additions and 2 deletions

View File

@@ -285,6 +285,7 @@ class RPC extends Handler_Protected {
function sanityCheck() {
$_SESSION["hasAudio"] = $_REQUEST["hasAudio"] === "true";
$_SESSION["hasSandbox"] = $_REQUEST["hasSandbox"] === "true";
$reply = array();