mirror of
https://github.com/YGGverse/Pulsar.git
synced 2026-03-31 17:55:37 +00:00
sanitize request
This commit is contained in:
parent
4b35cd91a7
commit
d0a539db91
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ $server->setHandler(
|
||||||
DIRECTORY_SEPARATOR,
|
DIRECTORY_SEPARATOR,
|
||||||
trim(
|
trim(
|
||||||
str_replace(
|
str_replace(
|
||||||
'\\', '/', $request->getPath()
|
'\\', '/', filter_var($request->getPath(), FILTER_SANITIZE_URL)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue