Browse Source

sanitize request

fs
yggverse 7 months ago
parent
commit
d0a539db91
  1. 2
      src/server.php

2
src/server.php

@ -121,7 +121,7 @@ $server->setHandler( @@ -121,7 +121,7 @@ $server->setHandler(
DIRECTORY_SEPARATOR,
trim(
str_replace(
'\\', '/', $request->getPath()
'\\', '/', filter_var($request->getPath(), FILTER_SANITIZE_URL)
)
)
);

Loading…
Cancel
Save