aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Oembed.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-13 18:29:08 -0700
committerzotlabs <mike@macgirvin.com>2017-06-13 18:29:08 -0700
commitfce68f1a39c73246ad449aee1bf7a4b9aba9837f (patch)
tree71507de564c22d24244846e3b367c78d59e4b5cc /Zotlabs/Module/Oembed.php
parent7f374fe69f46c041221736e4940b1cb0e8809fd1 (diff)
downloadvolse-hubzilla-fce68f1a39c73246ad449aee1bf7a4b9aba9837f.tar.gz
volse-hubzilla-fce68f1a39c73246ad449aee1bf7a4b9aba9837f.tar.bz2
volse-hubzilla-fce68f1a39c73246ad449aee1bf7a4b9aba9837f.zip
add rel=noopener to all external target _blank links
Diffstat (limited to 'Zotlabs/Module/Oembed.php')
-rw-r--r--Zotlabs/Module/Oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Oembed.php b/Zotlabs/Module/Oembed.php
index 9394e5942..aee5ea079 100644
--- a/Zotlabs/Module/Oembed.php
+++ b/Zotlabs/Module/Oembed.php
@@ -22,7 +22,7 @@ class Oembed extends \Zotlabs\Web\Controller {
}
else {
- echo "<html><head><base target=\"_blank\" /></head><body>";
+ echo "<html><head><base target=\"_blank\" rel=\"nofollow noopener\" /></head><body>";
$src = base64url_decode(argv(1));
$j = oembed_fetch_url($src);
echo $j['html'];