Browse Source

update realpath builder

nex-php
yggverse 7 months ago
parent
commit
8745b4aa00
  1. 7
      src/nex.php

7
src/nex.php

@ -192,12 +192,13 @@ $server->start( @@ -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

Loading…
Cancel
Save