QueryFilter.php: allow underscore in filter string (#4548)

This commit is contained in:
kulikov-a 2020-12-24 18:06:02 +03:00 committed by GitHub
parent 6c1b8a993e
commit b4104cf0a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,6 @@ class QueryFilter
*/
public function filter($value)
{
return preg_replace("/[^0-9,a-z,A-Z, ,*,\-,.,\#]/", "", $value);
return preg_replace("/[^0-9,a-z,A-Z, ,*,\-,_,.,\#]/", "", $value);
}
}