From: Davi Torres Date: Mon, 22 Jun 2026 15:09:17 +0000 (-0400) Subject: Also hooking regex on script.php X-Git-Tag: 4.8.0~17^2 X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/commitdiff_plain/cb5f6b575e3ccc91f5d37f08f1814ce0a006b29f?ds=inline Also hooking regex on script.php --- diff --git a/script.php b/script.php index ae57449..cc37c41 100644 --- a/script.php +++ b/script.php @@ -163,7 +163,7 @@ if (isset($_FILES['file']) && is_writable(VAR_FILES) $d = $_GET['d']; } - if (!preg_match('/[0-9a-zA-Z_-]+$/', $link_name)) { + if (!preg_match('/^[0-9a-zA-Z_-]+$/', $link_name)) { echo 'Error 7'; exit; }