Merge pull request #1609 from cianmcgovern/graylog-fix
Escape spaces in graylog backend
This commit is contained in:
@@ -23,5 +23,5 @@ class GraylogQuerystringBackend(ElasticsearchQuerystringBackend):
|
||||
active = True
|
||||
config_required = False
|
||||
|
||||
reEscape = re.compile("([+\\-!(){}\\[\\]^\"~:/]|(?<!\\\\)\\\\(?![*?\\\\])|&&|\\|\\|)")
|
||||
reEscape = re.compile("([\s+\\-!(){}\\[\\]^\"~:/]|(?<!\\\\)\\\\(?![*?\\\\])|&&|\\|\\|)")
|
||||
listSeparator = " "
|
||||
|
||||
Reference in New Issue
Block a user