Skip to content
Snippets Groups Projects
Commit 09d9e430 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Add a trailing slash to generated URLs

parent 125b7e75
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment