mirror of
https://github.com/YGGverse/Pulsar.git
synced 2025-03-13 05:41:21 +00:00
fix regex rule
This commit is contained in:
parent
b3c1586fa3
commit
d2195321ae
@ -115,8 +115,8 @@ $server->setHandler(
|
||||
$path = trim(
|
||||
preg_replace(
|
||||
[
|
||||
'/\/[\.]+\//',
|
||||
'/\/[\/]+\//',
|
||||
'/[\.]+\//',
|
||||
'/[\/]+\//',
|
||||
],
|
||||
'/',
|
||||
$request->getPath()
|
||||
|
Loading…
x
Reference in New Issue
Block a user