We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9ecb57 + c5b4dfa commit 513dcd6Copy full SHA for 513dcd6
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('https://codeigniter.com' . $_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