iframe sandbox: allow scripts

This commit is contained in:
Andrew Dolgov 2013-03-20 22:18:56 +04:00
parent bfdf07bb6e
commit 4e4048024a
1 changed files with 2 additions and 1 deletions

View File

@ -2634,7 +2634,8 @@
$entries = $xpath->query('//iframe');
foreach ($entries as $entry) {
$entry->setAttribute('sandbox', true);
$entry->setAttribute('sandbox', 'allow-scripts');
}
global $pluginhost;