From 667e25bcba708afbf5444bff91f94858d48686ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20S=C3=BC=C3=9Fenguth?= Date: Fri, 23 Jul 2021 15:33:44 +0200 Subject: [PATCH] Same as last commit for the save_list function --- save_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/save_list.php b/save_list.php index cdd2d9d..61d10e3 100644 --- a/save_list.php +++ b/save_list.php @@ -35,7 +35,7 @@ $domain = $_SESSION["domain"]; // We do not print any error in the next four cases, because a legitimate // user will never produce such results, even with disables javascript -if ( preg_match("/[^a-z0-9_]/", $list_name) ) +if ( preg_match("/[^a-z0-9_-]/", $list_name) ) { header("Location: error.php"); exit();