I have just refactored the code in order to keep the matching logic the same and at the same time to take into account the use case that is causing the wrong matching when filters have more negated fields that matches the headers values.
I have also updated the unittest related to the task filters with negation.
Issue reported here: https://github.com/CERT-Polska/karton/issues/222
I have just refactored the code in order to keep the matching logic the same and at the same time to take into account the use case that is causing the wrong matching when filters have more negated fields that matches the headers values.
I have also updated the unittest related to the task filters with negation.