From 711d94b75bf7c46624a49d99e2871e929cbad8c8 Mon Sep 17 00:00:00 2001 From: Matt Cockrell <99686918+mattcockrell@users.noreply.github.com> Date: Mon, 9 Mar 2026 14:43:14 -0400 Subject: [PATCH] Fix ID formatting in tempdir.go The character ":" is invalid for filesystem paths. This change will ensure that temp directories created for OCI repositories do not contain invalid syntax. Signed-off-by: Matt Cockrell --- tempdir.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tempdir.go b/tempdir.go index 9887cd4..da3746c 100644 --- a/tempdir.go +++ b/tempdir.go @@ -18,6 +18,7 @@ func makeTempDir(release, chart string, opts *ChartifyOpts) string { var id string if opts.ID != "" { id = strings.ReplaceAll(opts.ID, "/", string(filepath.Separator)) + id = strings.ReplaceAll(id, ":", string(filepath.Separator)) } else { id, err = GenerateID(release, chart, opts) if err != nil {