We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d82c4a commit bc16e9aCopy full SHA for bc16e9a
api.php
@@ -4810,7 +4810,7 @@ private function detectBasePath(string $basePath): string
4810
return $basePath;
4811
}
4812
if (isset($_SERVER['REQUEST_URI'])) {
4813
- $fullPath = explode('?', $_SERVER['REQUEST_URI'])[0];
+ $fullPath = urldecode(explode('?', $_SERVER['REQUEST_URI'])[0]);
4814
if (isset($_SERVER['PATH_INFO'])) {
4815
$path = $_SERVER['PATH_INFO'];
4816
if (substr($fullPath, -1 * strlen($path)) == $path) {
0 commit comments