mirror of
https://github.com/YGGverse/next.git
synced 2026-04-01 10:15:30 +00:00
update realpath builder
This commit is contained in:
parent
456e2a9c2b
commit
8745b4aa00
1 changed files with 6 additions and 5 deletions
|
|
@ -192,12 +192,13 @@ $server->start(
|
||||||
|
|
||||||
// Build realpath
|
// Build realpath
|
||||||
$realpath = realpath(
|
$realpath = realpath(
|
||||||
NEXT_PATH . filter_var(
|
NEXT_PATH .
|
||||||
urldecode(
|
urldecode(
|
||||||
$request
|
filter_var(
|
||||||
),
|
$request,
|
||||||
FILTER_SANITIZE_URL
|
FILTER_SANITIZE_URL
|
||||||
)
|
)
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Make sure directory path ending with slash
|
// Make sure directory path ending with slash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue