mirror of
https://github.com/YGGverse/Pulsar.git
synced 2025-03-13 05:41:21 +00:00
sanitize request
This commit is contained in:
parent
4b35cd91a7
commit
d0a539db91
@ -121,7 +121,7 @@ $server->setHandler(
|
||||
DIRECTORY_SEPARATOR,
|
||||
trim(
|
||||
str_replace(
|
||||
'\\', '/', $request->getPath()
|
||||
'\\', '/', filter_var($request->getPath(), FILTER_SANITIZE_URL)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user