mirror of
https://github.com/YGGverse/Pulsar.git
synced 2025-03-13 05:41:21 +00:00
add multi-os path separator
This commit is contained in:
parent
5ccadde228
commit
f410f82e10
@ -118,7 +118,7 @@ $server->setHandler(
|
||||
'/[\.]+\//', // relative directory paths
|
||||
'/[\/]+\//', // remove extra slashes
|
||||
],
|
||||
'/',
|
||||
DIRECTORY_SEPARATOR,
|
||||
trim(
|
||||
$request->getPath()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user