forked from services/mlmmj-light-web-ecg
Accept also mailing lists with a '-' in their name
This commit is contained in:
@@ -12,7 +12,7 @@ if (!isset($_SESSION["auth"]) || $_SESSION["auth"] != 1)
|
|||||||
|
|
||||||
// We do not print any error in the next three cases, because a legitimate
|
// We do not print any error in the next three cases, because a legitimate
|
||||||
// user will never produce such results, even with disabled javascript
|
// user will never produce such results, even with disabled javascript
|
||||||
if ( preg_match("/[^a-z0-9_]/", $list_name) )
|
if ( preg_match("/[^a-z0-9_-]/", $list_name) )
|
||||||
{
|
{
|
||||||
header("Location: error.php");
|
header("Location: error.php");
|
||||||
exit();
|
exit();
|
||||||
|
|||||||
Reference in New Issue
Block a user