mirror of
https://github.com/grocy/grocy.git
synced 2025-08-13 17:27:23 +00:00
Allow hyphens in API filter value (fixes #1333)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user