aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-03-17 17:32:38 +0100
committerLukas Reschke <lukas@owncloud.com>2016-03-17 17:32:38 +0100
commit24abe1e1e1a9945d800ed446a3b5a3907df6a7dd (patch)
tree296d02a1c731263ba985e8e59295885c6f466b87 /lib/base.php
parent8fb3e446107da26ac654ffc25af6814a17cb9022 (diff)
downloadnextcloud-server-24abe1e1e1a9945d800ed446a3b5a3907df6a7dd.tar.gz
nextcloud-server-24abe1e1e1a9945d800ed446a3b5a3907df6a7dd.zip
Use raw PATH_INFO
PATH_INFO will be empty at this point and thus the logic in base.php did not catch this. Changing this to "getRawPathInfo" will ensure that the path info is properly read. Fixes https://github.com/owncloud/core/issues/23199
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 7659148c140..16db8f4dcd2 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -823,7 +823,7 @@ class OC {
}
$request = \OC::$server->getRequest();
- $requestPath = $request->getPathInfo();
+ $requestPath = $request->getRawPathInfo();
if (substr($requestPath, -3) !== '.js') { // we need these files during the upgrade
self::checkMaintenanceMode();
self::checkUpgrade();