Same as last commit for the save_list function

This commit is contained in:
2021-07-23 15:33:44 +02:00
parent 042c9e3ab6
commit 667e25bcba

View File

@@ -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();