Add missing slash in URLGenerator::getAbsoluteURL(). Refs. #6840

This commit is contained in:
Thomas Tanghus 2014-01-24 16:40:32 +01:00
parent dff2675efa
commit 5f610a1cbc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}