]> git.wh0rd.org Git - tt-rss.git/commitdiff
iframe sandbox: allow scripts
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 20 Mar 2013 18:18:56 +0000 (22:18 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 20 Mar 2013 18:18:56 +0000 (22:18 +0400)
include/functions.php

index ca129ab812fec2ace93072bee43a86e65547a83b..417a05c2354862405c5f7364bca0d0f00bf2ac80 100644 (file)
 
                $entries = $xpath->query('//iframe');
                foreach ($entries as $entry) {
-                       $entry->setAttribute('sandbox', true);
+                       $entry->setAttribute('sandbox', 'allow-scripts');
+
                }
 
                global $pluginhost;