summaryrefslogtreecommitdiffstats
path: root/templates/part.settings.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.settings.php
parent1bc7a4907ac3f15f57a5076b4c74b887da0af204 (diff)
Fix window.opener vulnerability
Diffstat (limited to 'templates/part.settings.php')
-rw-r--r--templates/part.settings.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/part.settings.php b/templates/part.settings.php
index eaabb33b3..533fafda4 100644
--- a/templates/part.settings.php
+++ b/templates/part.settings.php
@@ -78,6 +78,7 @@
class="button icon-download svg button-icon-label"
href="<?php p(\OCP\Util::linkToRoute('news.export.opml')); ?>"
target="_blank"
+ rel="noreferrer"
ng-hide="App.isFirstRun()">
</a>
@@ -119,6 +120,7 @@
class="button icon-download svg button-icon-label"
href="<?php p(\OCP\Util::linkToRoute('news.export.articles')); ?>"
target="_blank"
+ rel="noreferrer"
ng-hide="App.isFirstRun()">
</a>
<button
@@ -144,10 +146,12 @@
<p>
<a target="_blank"
+ rel="noreferrer"
href="https://github.com/owncloud/news/wiki"><?php p($l->t('Documentation')); ?></a>
</p>
<p>
<a target="_blank"
+ rel="noreferrer"
href="https://github.com/owncloud/news/issues/new"><?php p($l->t('Report a bug')); ?></a>
</p>