summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-16 13:37:54 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-16 13:37:54 +0100
commit8791f1992eb4476fbf427f2ffde22498d3770cb0 (patch)
treecb177bfb1313c2bea97d94b32295efbe971fb39d /lib
parent4172ba48d4c2ffc34c2020b256aca333de692c23 (diff)
downloadnextcloud-server-8791f1992eb4476fbf427f2ffde22498d3770cb0.tar.gz
nextcloud-server-8791f1992eb4476fbf427f2ffde22498d3770cb0.zip
Add noreferrer to footer URI
Diffstat (limited to 'lib')
-rw-r--r--lib/private/defaults.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/defaults.php b/lib/private/defaults.php
index c16ebdbe24c..773f2ba4b49 100644
--- a/lib/private/defaults.php
+++ b/lib/private/defaults.php
@@ -212,7 +212,8 @@ class OC_Defaults {
if ($this->themeExist('getShortFooter')) {
$footer = $this->theme->getShortFooter();
} else {
- $footer = '<a href="'. $this->getBaseUrl() . '" target="_blank">' .$this->getEntity() . '</a>'.
+ $footer = '<a href="'. $this->getBaseUrl() . '" target="_blank"' .
+ ' rel="noreferrer">' .$this->getEntity() . '</a>'.
' – ' . $this->getSlogan();
}