add rel=noopener to all external target _blank links

This commit is contained in:
zotlabs
2017-06-14 16:56:13 +02:00
committed by Mario Vavti
parent 8eccd7d47d
commit dcbc65a796
3 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -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'];