Skip to content

Commit c2d9557

Browse files
datamwebkenjis
andauthored
fix: prevent relative URL
Co-authored-by: kenjis <kenji.uui@gmail.com>
1 parent f9e9517 commit c2d9557

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Commands/Server/rewrite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626

2727
$uri = urldecode(
28-
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ?? ''
28+
parse_url('http://ci4.dev' . $_SERVER['REQUEST_URI'], PHP_URL_PATH) ?? ''
2929
);
3030

3131
// All request handle by index.php file.

0 commit comments

Comments
 (0)