summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-08 21:16:08 -0500
committerMorris Jobke <hey@morrisjobke.de>2017-05-08 21:16:08 -0500
commit9309217ecb760a9070d9b69c051e167888aa5458 (patch)
treee2f8b8d8a3b1971154c18b83a766c8065fbdebda /lib/base.php
parentf6a4028fad57ff2be8752b17c66b990e042cfdf9 (diff)
downloadnextcloud-server-9309217ecb760a9070d9b69c051e167888aa5458.tar.gz
nextcloud-server-9309217ecb760a9070d9b69c051e167888aa5458.zip
Fix escaped HTML on error pages
* fixes #4655 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/base.php b/lib/base.php
index 41e4ef9573c..69ea6e54c2d 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -246,9 +246,8 @@ class OC {
} else {
OC_Template::printErrorPage(
$l->t('Cannot write into "config" directory!'),
- $l->t('This can usually be fixed by '
- . '%sgiving the webserver write access to the config directory%s.',
- array('<a href="' . $urlGenerator->linkToDocs('admin-dir_permissions') . '" target="_blank" rel="noreferrer">', '</a>'))
+ $l->t('This can usually be fixed by giving the webserver write access to the config directory. See %s',
+ [ $urlGenerator->linkToDocs('admin-dir_permissions') ])
);
}
}