mirror of
https://github.com/YGGverse/next.git
synced 2026-03-31 17:55:34 +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,
|
||||
NEXT_PATH . trim(
|
||||
str_replace(
|
||||
'\\', '/', $request
|
||||
'\\', '/', filter_var($request, FILTER_SANITIZE_URL)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue