diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-13 18:29:08 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-06-14 16:56:13 +0200 |
commit | dcbc65a796facf17d2194f0c6a738f43bfe2cc40 (patch) | |
tree | 4b8d93656a7eb59f7bfe19c5d654075ee8b4a2f0 /Zotlabs | |
parent | 8eccd7d47d300f569ddb06d85f1a38441610d61e (diff) | |
download | volse-hubzilla-dcbc65a796facf17d2194f0c6a738f43bfe2cc40.tar.gz volse-hubzilla-dcbc65a796facf17d2194f0c6a738f43bfe2cc40.tar.bz2 volse-hubzilla-dcbc65a796facf17d2194f0c6a738f43bfe2cc40.zip |
add rel=noopener to all external target _blank links
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Oembed.php | 2 |
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']; |