diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-12-02 11:27:07 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-12-02 11:27:07 +0100 |
commit | 09d9e430d8de207fc9528329e4d0ea49272aa589 (patch) | |
tree | 4cb7bf5a2501197d9570843526a1d99f89115e4c /lib/private/urlgenerator.php | |
parent | 125b7e75121ee8b3ca35553f5c3365884557189f (diff) | |
download | nextcloud-server-09d9e430d8de207fc9528329e4d0ea49272aa589.tar.gz nextcloud-server-09d9e430d8de207fc9528329e4d0ea49272aa589.zip |
Add a trailing slash to generated URLs
Diffstat (limited to 'lib/private/urlgenerator.php')
-rw-r--r-- | lib/private/urlgenerator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/urlgenerator.php b/lib/private/urlgenerator.php index fb1ea737ef4..94de8ed8f6e 100644 --- a/lib/private/urlgenerator.php +++ b/lib/private/urlgenerator.php @@ -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; } |