Merge branch 'develop' of github.com:MISP/MISP into develop

pull/9296/head
iglocska 2023-09-14 12:55:42 +02:00
commit 29a2471ac3
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 5 additions and 0 deletions

View File

@ -4027,4 +4027,9 @@ class AppModel extends Model
return false;
}
public function checkParam($param)
{
return preg_match('/^[\w\_\-\. ]+$/', $param);
}
}