diff --git a/pkg/plugins/client.go b/pkg/plugins/client.go index 26c1f801b..836302f0b 100644 --- a/pkg/plugins/client.go +++ b/pkg/plugins/client.go @@ -281,7 +281,7 @@ func unzipFile(f *zipa.File, dest string) error { defer func() { _ = rc.Close() }() - pathParts := strings.SplitN(f.Name, string(os.PathSeparator), 2) + pathParts := strings.SplitN(f.Name, "/", 2) p := filepath.Join(dest, pathParts[1]) if f.FileInfo().IsDir() {