summaryrefslogtreecommitdiffstats
path: root/templates/part.content.explore.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-05-10 17:34:00 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2016-05-10 17:34:00 +0200
commit9a3c1c71824723d4b369df9b412fd0a7d6f08ac5 (patch)
tree1af699d10e0e679129fee2f84d01f5d88fe46dad /templates/part.content.explore.php
parent1bc7a4907ac3f15f57a5076b4c74b887da0af204 (diff)
Fix window.opener vulnerability
Diffstat (limited to 'templates/part.content.explore.php')
-rw-r--r--templates/part.content.explore.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.content.explore.php b/templates/part.content.explore.php
index 3eab49751..e1871152c 100644
--- a/templates/part.content.explore.php
+++ b/templates/part.content.explore.php
@@ -25,7 +25,7 @@
<div class="grid-item-content">
<h1 ng-show="entry.favicon"
ng-style="{ backgroundImage: 'url(' + entry.favicon + ')'}">
- <a target="_blank" ng-href="{{ entry.url }}">{{ entry.title }}</a>
+ <a target="_blank" rel="noreferrer" ng-href="{{ entry.url }}">{{ entry.title }}</a>
</h1>
<h1 ng-hide="entry.favicon" class="icon-rss">
{{ entry.title }}
@@ -48,6 +48,6 @@
</div>
<div class="explore-footer">
- <a target="_blank" href="https://github.com/owncloud/news/wiki/Explore-Feed-Section"><?php p($l->t('Got more awesome feeds? Share them with us!')) ?></a>
+ <a target="_blank" rel="noreferrer" href="https://github.com/owncloud/news/wiki/Explore-Feed-Section"><?php p($l->t('Got more awesome feeds? Share them with us!')) ?></a>
</div>
</div>