mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 03:04:36 +00:00
Allow backslashes in API query filters (fixes #1649)
This commit is contained in:
@@ -10,7 +10,7 @@ class BaseApiController extends BaseController
|
||||
|
||||
const PATTERN_OPERATOR = '!?(=|~|<|>|(>=)|(<=)|(§))';
|
||||
|
||||
const PATTERN_VALUE = '[A-Za-z\p{L}\p{M}*_0-9.$#^| -]+';
|
||||
const PATTERN_VALUE = '[A-Za-z\p{L}\p{M}0-9*_.$#^| -\\\]+';
|
||||
|
||||
protected $OpenApiSpec = null;
|
||||
|
||||
|
Reference in New Issue
Block a user