We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rewrite.php
1 parent 0b24532 commit f9e9517Copy full SHA for f9e9517
1 file changed
system/Commands/Server/rewrite.php
@@ -24,7 +24,9 @@
24
return;
25
}
26
27
-$uri = urldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
+$uri = urldecode(
28
+ parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ?? ''
29
+);
30
31
// All request handle by index.php file.
32
$_SERVER['SCRIPT_NAME'] = '/index.php';
0 commit comments