From 1d760212e811dabe79fb4c104e23ec9bd4986e4d Mon Sep 17 00:00:00 2001 From: Matthias Van Woensel <3532563+matthiaz@users.noreply.github.com> Date: Thu, 16 Oct 2025 17:11:25 +0200 Subject: [PATCH] Bugfix: Search on string with dot was not possible This adds the ability to search on a term that contains a dot. If you want to filter on something that contains a dot `.` the search term used to just be skipped. ie: `?level=eq.myspecial.thing.that.contains.dots` But after this change it will filter on `myspecial.thing.that.contains.dots` --- pkg/sql/urlquery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sql/urlquery.go b/pkg/sql/urlquery.go index 07bec3a..691660c 100644 --- a/pkg/sql/urlquery.go +++ b/pkg/sql/urlquery.go @@ -98,7 +98,7 @@ func (q *URLQuery) WhereQuery(index uint) (newIndex uint, query string, args []a continue } for _, vv := range v { - vals := strings.Split(vv, ".") + vals := strings.SplitN(vv, ".", 2) if len(vals) != 2 { continue }