Skip to content

Commit 4ad5919

Browse files
Issifpoiana
authored andcommitted
escape also values with dots
Signed-off-by: Thomas Labarussias <issif+github@gadz.org>
1 parent e3b38d3 commit 4ad5919

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/utils/utils.go

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ func GetPriortiyInt(prio string) int {
168168
func Escape(s string) string {
169169
s = strings.ReplaceAll(s, "-", `\-`)
170170
s = strings.ReplaceAll(s, "/", "\\/")
171+
s = strings.ReplaceAll(s, ".", "\\.")
171172
return s
172173
}
173174

0 commit comments

Comments
 (0)