forked from services/mlmmj-light-web-ecg
Same as last commit for the save_list function
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user