forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cases] Removing escapeKuery calls in nodeBuilder (elastic#159815)
Fixes: elastic#159741 This PR removes calls to `escapeKuery` where the result is passed directly to `nodeBuilder`. `nodeBuilder` expects the raw contents that should not be escaped. Escaping is only need when the result is passed to `fromKueryExpression` or `buildNode`. ## Testing Try creating a case with tags that have kql characters like: `\\():<>"*` and try filtering the cases list page for those tags. The case should be displayed in the table. ## Release Notes Cases fixed an issue where the following special characters could not be included in the case tags: `\\():<>"*` because it resulted in a bug where the case would not be displayed in the cases table when filtered for those tags. These characters are now handled correctly and the cases will be shown in the table.
- Loading branch information
1 parent
52978a6
commit f91ee9c
Showing
4 changed files
with
150 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.