diff options
author | Andrew Dolgov <[email protected]> | 2013-03-19 12:49:55 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-19 12:49:55 +0400 |
commit | 4f7d69e1856a611025f53eef273e5af039d9aa16 (patch) | |
tree | 9a5d2a357486bf32c53e42f979c91fcd297e9904 /classes | |
parent | 55783ca45c7d87a671796842386afd0f5eb31b89 (diff) |
detect whether browser supports iframe.sandbox and allow iframes accordingly; allow object and embed elements
Diffstat (limited to 'classes')
-rw-r--r-- | classes/rpc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index 5d77b1ae8..b297bbade 100644 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -285,6 +285,7 @@ class RPC extends Handler_Protected { function sanityCheck() { $_SESSION["hasAudio"] = $_REQUEST["hasAudio"] === "true"; + $_SESSION["hasSandbox"] = $_REQUEST["hasSandbox"] === "true"; $reply = array(); |