From 424cc58adbc135a1ac4cb1c7c64e4b9124246ec3 Mon Sep 17 00:00:00 2001 From: Ukri Niemimuukko Date: Fri, 12 Jun 2026 17:21:34 +0300 Subject: [PATCH] Fix unescaped dot in regexp A CodeQL finding. This fixes the unescaped dot that was left in a regexp. Signed-off-by: Ukri Niemimuukko --- pkg/resmgr/cache/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/resmgr/cache/container.go b/pkg/resmgr/cache/container.go index 9696a0ded..986245716 100644 --- a/pkg/resmgr/cache/container.go +++ b/pkg/resmgr/cache/container.go @@ -1009,7 +1009,7 @@ var ( ignoredTopologyPathRegexps = []*regexp.Regexp{ // Kubelet directory can be different, but we can detect it by structure inside of it. // For now, we can safely ignore exposed config maps and secrets for topology hints. - regexp.MustCompile(`(kubelet)?/pods/[[:xdigit:]-]+/volumes/kubernetes.io~(configmap|secret)/`), + regexp.MustCompile(`(kubelet)?/pods/[[:xdigit:]-]+/volumes/kubernetes\.io~(configmap|secret)/`), } )