fix regex rule

This commit is contained in:
yggverse 2024-04-26 20:52:01 +03:00
parent b3c1586fa3
commit d2195321ae

View file

@ -115,8 +115,8 @@ $server->setHandler(
$path = trim( $path = trim(
preg_replace( preg_replace(
[ [
'/\/[\.]+\//', '/[\.]+\//',
'/\/[\/]+\//', '/[\/]+\//',
], ],
'/', '/',
$request->getPath() $request->getPath()