summaryrefslogtreecommitdiffstats
path: root/lib/private/urlgenerator.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2014-01-24 16:40:32 +0100
committerThomas Tanghus <thomas@tanghus.net>2014-01-24 16:40:32 +0100
commit5f610a1cbc5a97bd4f097111536516f547a94fda (patch)
treef3d908dd5b9abc63f1ef9b3195211c805b9a1b45 /lib/private/urlgenerator.php
parentdff2675efa3e83c229e7b88b729bb5534417f63d (diff)
downloadnextcloud-server-5f610a1cbc5a97bd4f097111536516f547a94fda.tar.gz
nextcloud-server-5f610a1cbc5a97bd4f097111536516f547a94fda.zip
Add missing slash in URLGenerator::getAbsoluteURL(). Refs. #6840
Diffstat (limited to 'lib/private/urlgenerator.php')
-rw-r--r--lib/private/urlgenerator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/urlgenerator.php b/lib/private/urlgenerator.php
index 4e3c1109000..e618aef268a 100644
--- a/lib/private/urlgenerator.php
+++ b/lib/private/urlgenerator.php
@@ -147,6 +147,6 @@ class URLGenerator implements IURLGenerator {
* @return string the absolute version of the url
*/
public function getAbsoluteURL($url) {
- return \OC_Request::serverProtocol() . '://' . \OC_Request::serverHost() . $url;
+ return \OC_Request::serverProtocol() . '://' . \OC_Request::serverHost() . '/' . $url;
}
}