mirror of
https://github.com/YGGverse/Pulsar.git
synced 2026-04-01 18:25:31 +00:00
fix regex rule
This commit is contained in:
parent
b3c1586fa3
commit
d2195321ae
1 changed files with 2 additions and 2 deletions
|
|
@ -115,8 +115,8 @@ $server->setHandler(
|
||||||
$path = trim(
|
$path = trim(
|
||||||
preg_replace(
|
preg_replace(
|
||||||
[
|
[
|
||||||
'/\/[\.]+\//',
|
'/[\.]+\//',
|
||||||
'/\/[\/]+\//',
|
'/[\/]+\//',
|
||||||
],
|
],
|
||||||
'/',
|
'/',
|
||||||
$request->getPath()
|
$request->getPath()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue