Skip to content

Commit

Permalink
Fix JQL escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
natenho committed Mar 30, 2023
1 parent 27a0855 commit 3c85579
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/jql.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func SanitizeTermForJQL(input string) string {
input = strings.ReplaceAll(input, "- ", " ")
input = strings.ReplaceAll(input, " -", " ")
input = strings.ReplaceAll(input, "\t", "\\t")
input = strings.ReplaceAll(input, `\`, `\\`)

const notAllowedSearchChars string = `{}-["]()?*+`

Expand Down

0 comments on commit 3c85579

Please sign in to comment.