update realpath builder

This commit is contained in:
yggverse 2024-04-28 16:58:40 +03:00
parent 456e2a9c2b
commit 8745b4aa00

View file

@ -192,12 +192,13 @@ $server->start(
// Build realpath
$realpath = realpath(
NEXT_PATH . filter_var(
NEXT_PATH .
urldecode(
$request
),
filter_var(
$request,
FILTER_SANITIZE_URL
)
)
);
// Make sure directory path ending with slash