diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-03-20 22:18:56 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-03-20 22:18:56 +0400 |
| commit | 4e4048024a2007527eaf713408c03e83f319b4ed (patch) | |
| tree | 72ba640b55b232387aa05413a294cd3992cd6180 | |
| parent | bfdf07bb6e3965b2ac27e5962a90b06f4450bf63 (diff) | |
iframe sandbox: allow scripts
| -rw-r--r-- | include/functions.php | 3 |
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; |