Allow hyphens in API filter value (fixes #1333)

This commit is contained in:
Bernd Bestel
2021-07-04 17:48:58 +02:00
parent 0dc37fb361
commit 82c474d0ae
2 changed files with 2 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ class BaseApiController extends BaseController
const PATTERN_OPERATOR = '!?(=|~|<|>|(>=)|(<=)|(§))';
const PATTERN_VALUE = '[A-Za-z_0-9.$#^|]+';
const PATTERN_VALUE = '[A-Za-z_0-9.$#^|-]+';
public function __construct(\DI\Container $container)
{