mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Allow any letters in API filter values (fixes #1591)
This commit is contained in:
parent
edd372f8c4
commit
14bb04d285
@ -10,7 +10,7 @@ class BaseApiController extends BaseController
|
||||
|
||||
const PATTERN_OPERATOR = '!?(=|~|<|>|(>=)|(<=)|(§))';
|
||||
|
||||
const PATTERN_VALUE = '[A-Za-z\x{0400}-\x{04FF}_0-9.$#^|-]+';
|
||||
const PATTERN_VALUE = '[A-Za-z\p{L}\p{M}*_0-9.$#^|-]+';
|
||||
|
||||
protected $OpenApiSpec = null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user