summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-16 08:29:02 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-16 08:29:02 +0100
commit60d22f834f82741437db0638c8dd470533c657f2 (patch)
treeef8c19b27ec90c35a281a3540ea7784e4002076a /lib
parent3dd1961f9235fbd2fc5d0b52791d7ff2ee9f43d1 (diff)
parent0173063923b872a875f3b1fe8b1d75446bebc180 (diff)
downloadnextcloud-server-60d22f834f82741437db0638c8dd470533c657f2.tar.gz
nextcloud-server-60d22f834f82741437db0638c8dd470533c657f2.zip
Merge pull request #22407 from fancycode/untrusted_domain
Pass checked host as "domain" variable to "untrustedDomain" template.
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index fc4a99287d0..df4e91dda9f 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -692,7 +692,7 @@ class OC {
);
$tmpl = new OCP\Template('core', 'untrustedDomain', 'guest');
- $tmpl->assign('domain', $request->server['SERVER_NAME']);
+ $tmpl->assign('domain', $host);
$tmpl->printPage();
exit();