iframe sandbox: allow scripts
This commit is contained in:
parent
bfdf07bb6e
commit
4e4048024a
1 changed files with 2 additions and 1 deletions
|
@ -2634,7 +2634,8 @@
|
|||
|
||||
$entries = $xpath->query('//iframe');
|
||||
foreach ($entries as $entry) {
|
||||
$entry->setAttribute('sandbox', true);
|
||||
$entry->setAttribute('sandbox', 'allow-scripts');
|
||||
|
||||
}
|
||||
|
||||
global $pluginhost;
|
||||
|
|
Loading…
Reference in a new issue