From cb5f6b575e3ccc91f5d37f08f1814ce0a006b29f Mon Sep 17 00:00:00 2001 From: Davi Torres Date: Mon, 22 Jun 2026 11:09:17 -0400 Subject: [PATCH] Also hooking regex on script.php --- script.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.43.0