diff --git a/cmd/untar.go b/cmd/untar.go index 143462483..f46a51874 100644 --- a/cmd/untar.go +++ b/cmd/untar.go @@ -203,7 +203,8 @@ func untar(ctx context.Context, r io.Reader, putObject func(reader io.Reader, in } name := header.Name - if name == slashSeparator { + switch path.Clean(name) { + case ".", slashSeparator: continue }