Add a trailing slash to generated URLs

This commit is contained in:
Lukas Reschke 2015-12-02 11:27:07 +01:00
parent 125b7e7512
commit 09d9e430d8
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class URLGenerator implements IURLGenerator {
$urlLinkTo = \OC::$WEBROOT . '/core/' . $file;
} else {
if ($frontControllerActive && $file === 'index.php') {
$urlLinkTo = \OC::$WEBROOT;
$urlLinkTo = \OC::$WEBROOT . '/';
} else {
$urlLinkTo = \OC::$WEBROOT . '/' . $file;
}