mirror of
https://github.com/YGGverse/next.git
synced 2025-03-13 06:01:14 +00:00
sanitize request
This commit is contained in:
parent
4fa3b7d7a2
commit
e3b9f26183
@ -192,7 +192,7 @@ $server->start(
|
|||||||
DIRECTORY_SEPARATOR,
|
DIRECTORY_SEPARATOR,
|
||||||
NEXT_PATH . trim(
|
NEXT_PATH . trim(
|
||||||
str_replace(
|
str_replace(
|
||||||
'\\', '/', $request
|
'\\', '/', filter_var($request, FILTER_SANITIZE_URL)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user