From 5f610a1cbc5a97bd4f097111536516f547a94fda Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Fri, 24 Jan 2014 16:40:32 +0100 Subject: [PATCH] Add missing slash in URLGenerator::getAbsoluteURL(). Refs. #6840 --- lib/private/urlgenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/urlgenerator.php b/lib/private/urlgenerator.php index 4e3c110900..e618aef268 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; } }