We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c696d19 commit 3d2b414Copy full SHA for 3d2b414
pkg/util/compress/compress.go
@@ -76,7 +76,7 @@ func UnpackReader(fs afero.Fs, file io.Reader, useGzip bool, targetDir string) e
76
if err != nil {
77
return err
78
}
79
- targetPath, err := sanitizeExtractPath(targetDir, header.Name)
+ targetPath, err := sanitizeExtractPath(header.Name, targetDir)
80
81
82
0 commit comments