From 4ad5919d7f3aed15ae5ca1f7bac59c1f3e749f06 Mon Sep 17 00:00:00 2001 From: Thomas Labarussias Date: Fri, 23 Feb 2024 15:17:41 +0100 Subject: [PATCH] escape also values with dots Signed-off-by: Thomas Labarussias --- internal/utils/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/utils/utils.go b/internal/utils/utils.go index f85f5b2..b76dc74 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -168,6 +168,7 @@ func GetPriortiyInt(prio string) int { func Escape(s string) string { s = strings.ReplaceAll(s, "-", `\-`) s = strings.ReplaceAll(s, "/", "\\/") + s = strings.ReplaceAll(s, ".", "\\.") return s }