Allow backslashes in API query filters (fixes #1649)

This commit is contained in:
Bernd Bestel
2021-11-12 17:52:32 +01:00
parent beae32ef23
commit ab53a157e4
2 changed files with 4 additions and 1 deletions

View File

@@ -5,3 +5,6 @@
- Fixed that the labels of context-/more-menu items were not readable in Night Mode (thanks @corbolais)
- Fixed that auto night mode over midnight did not always work
- Fixed that the "Add as new product" productpicker workflow, started from the shopping list item form, always selected the default shopping list after finishing the flow
### API
- Fixed that backslashes were not allowed in API query filters

View File

@@ -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;