summaryrefslogtreecommitdiffstats
path: root/lib/private/defaults.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-16 14:36:44 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-16 14:36:44 +0100
commitc6705ab574bf443fd867fb3c643e886fc91da885 (patch)
tree5867ac9f19556e0fe1883bf4c3c610442ced7940 /lib/private/defaults.php
parentf7bd543a85f78c54ecd1bcf4ebc7908179a859cb (diff)
parent8791f1992eb4476fbf427f2ffde22498d3770cb0 (diff)
downloadnextcloud-server-c6705ab574bf443fd867fb3c643e886fc91da885.tar.gz
nextcloud-server-c6705ab574bf443fd867fb3c643e886fc91da885.zip
Merge pull request #13890 from owncloud/add-no-referrer
Add `rel="noreferrer"` where possible and switch to HTTPS
Diffstat (limited to 'lib/private/defaults.php')
-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 dfcd97aedd6..a3902ee80de 100644
--- a/lib/private/defaults.php
+++ b/lib/private/defaults.php
@@ -215,7 +215,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();
}