iframe sandbox: allow scripts
This commit is contained in:
parent
bfdf07bb6e
commit
4e4048024a
|
@ -2634,7 +2634,8 @@
|
||||||
|
|
||||||
$entries = $xpath->query('//iframe');
|
$entries = $xpath->query('//iframe');
|
||||||
foreach ($entries as $entry) {
|
foreach ($entries as $entry) {
|
||||||
$entry->setAttribute('sandbox', true);
|
$entry->setAttribute('sandbox', 'allow-scripts');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
global $pluginhost;
|
global $pluginhost;
|
||||||
|
|
Loading…
Reference in New Issue