summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-20 22:18:56 +0400
committerAndrew Dolgov <[email protected]>2013-03-20 22:18:56 +0400
commit4e4048024a2007527eaf713408c03e83f319b4ed (patch)
tree72ba640b55b232387aa05413a294cd3992cd6180 /include
parentbfdf07bb6e3965b2ac27e5962a90b06f4450bf63 (diff)
iframe sandbox: allow scripts
Diffstat (limited to 'include')
-rw-r--r--include/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index ca129ab81..417a05c23 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2634,7 +2634,8 @@
$entries = $xpath->query('//iframe');
foreach ($entries as $entry) {
- $entry->setAttribute('sandbox', true);
+ $entry->setAttribute('sandbox', 'allow-scripts');
+
}
global $pluginhost;