forked from services/mlmmj-light-web-ecg
Security check if list parameter is not set for edit_list and save_list
This commit is contained in:
@@ -46,7 +46,7 @@ if ( strlen($list_name) > 30 )
|
||||
}
|
||||
|
||||
// Test list existence
|
||||
if( !is_dir("$lists_path/$domain/$list_name") )
|
||||
if( !is_dir("$lists_path/$domain/$list_name") || $list_name == "" )
|
||||
{
|
||||
header("Location: error.php");
|
||||
exit();
|
||||
|
||||
Reference in New Issue
Block a user