mirror of
https://github.com/YGGverse/next.git
synced 2026-03-31 17:55:34 +00:00
update realpath builder
This commit is contained in:
parent
456e2a9c2b
commit
8745b4aa00
1 changed files with 6 additions and 5 deletions
11
src/nex.php
11
src/nex.php
|
|
@ -192,11 +192,12 @@ $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
|
||||||
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue