[CarbonBlack] Adding extra escape character

Hyphens, especially when at the start of a query, need escaping since hyphens are also used to negate conditions
This commit is contained in:
Wietze 2021-07-29 13:57:58 +01:00
parent 5ce5465559
commit e0d6856987
No known key found for this signature in database
GPG Key ID: D7A60F28EB3DE457

View File

@ -81,6 +81,7 @@ class CarbonBlackQueryBackend(CarbonBlackWildcardHandlingMixin, SingleTextQueryB
'|',
';',
':',
'-'
]
def __init__(self, *args, **kwargs):