summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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;