[Pkg-owncloud-commits] [owncloud] 114/145: Add missing slash in URLGenerator::getAbsoluteURL(). Refs. #6840

David Prévot taffit at moszumanska.debian.org
Wed Feb 26 16:27:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 0f87a0248fbc01ca876667ab9680253987d3f12f
Author: Thomas Tanghus <thomas at tanghus.net>
Date:   Fri Jan 24 16:40:32 2014 +0100

    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 7795011..7ed44c4 100644
--- a/lib/private/urlgenerator.php
+++ b/lib/private/urlgenerator.php
@@ -124,6 +124,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;
 	}
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list