mirror of
https://github.com/YGGverse/next.git
synced 2026-04-01 18:25:29 +00:00
sanitize request
This commit is contained in:
parent
4fa3b7d7a2
commit
e3b9f26183
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue