mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 17:01:28 +00:00
iframe sandbox: allow scripts
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user