aboutsummaryrefslogtreecommitdiffstats
path: root/include/oembed.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-30 15:01:51 -0700
committerfriendica <info@friendica.com>2014-03-30 15:01:51 -0700
commitb00478d3b5e6d12e2c726fbdde931b5e64ad5da9 (patch)
tree94f033eaef7a89663e409acfd6e2681dd06029c8 /include/oembed.php
parent9e5f4243941f3e7f3290698d1072895c1019d917 (diff)
downloadvolse-hubzilla-b00478d3b5e6d12e2c726fbdde931b5e64ad5da9.tar.gz
volse-hubzilla-b00478d3b5e6d12e2c726fbdde931b5e64ad5da9.tar.bz2
volse-hubzilla-b00478d3b5e6d12e2c726fbdde931b5e64ad5da9.zip
revise the sandbox
Diffstat (limited to 'include/oembed.php')
-rwxr-xr-xinclude/oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php
index 46b1d72c4..691ef48fd 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -165,7 +165,7 @@ function oembed_iframe($src,$width,$height) {
$a = get_app();
$s = $a->get_baseurl()."/oembed/".base64url_encode($src);
- return '<iframe sandbox="allow-same-origin allow-top-navigation" height="' . $height . '" width="' . $width . '" src="' . $s . '" frameborder="no" >' . t('Embedded content') . '</iframe>';
+ return '<iframe sandbox="allow-scripts" height="' . $height . '" width="' . $width . '" src="' . $s . '" frameborder="no" >' . t('Embedded content') . '</iframe>';
}