Skip to content

Commit

Permalink
feat: add : to symbole
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadch91 committed Dec 25, 2024
1 parent f444416 commit 7340308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/opengovernance-es-sdk/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ func qualValue(qual *proto.QualValue) string {
// or partial matching in a text field. If found, we produce a dual (field + field.keyword) query.
func containsSpecialSymbol(val string) bool {
// Some special chars: / \ < > , - _ ( ) [ ] =
specialChars := "/\\<>,-_()[]="
specialChars := "/\\<>,-_()[]:;="
return strings.ContainsAny(val, specialChars)
}

Expand Down

0 comments on commit 7340308

Please sign in to comment.