Skip to content

Commit bc16e9a

Browse files
committed
better basePath support
1 parent 1d82c4a commit bc16e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4810,7 +4810,7 @@ private function detectBasePath(string $basePath): string
48104810
return $basePath;
48114811
}
48124812
if (isset($_SERVER['REQUEST_URI'])) {
4813-
$fullPath = explode('?', $_SERVER['REQUEST_URI'])[0];
4813+
$fullPath = urldecode(explode('?', $_SERVER['REQUEST_URI'])[0]);
48144814
if (isset($_SERVER['PATH_INFO'])) {
48154815
$path = $_SERVER['PATH_INFO'];
48164816
if (substr($fullPath, -1 * strlen($path)) == $path) {

0 commit comments

Comments
 (0)