Browse Source

fix regex rule

fs
yggverse 7 months ago
parent
commit
d2195321ae
  1. 4
      src/server.php

4
src/server.php

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

Loading…
Cancel
Save