summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-19 12:49:55 +0400
committerAndrew Dolgov <[email protected]>2013-03-19 12:49:55 +0400
commit4f7d69e1856a611025f53eef273e5af039d9aa16 (patch)
tree9a5d2a357486bf32c53e42f979c91fcd297e9904 /classes/rpc.php
parent55783ca45c7d87a671796842386afd0f5eb31b89 (diff)
detect whether browser supports iframe.sandbox and allow iframes accordingly; allow object and embed elements
Diffstat (limited to 'classes/rpc.php')
-rw-r--r--classes/rpc.php1
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();