Commit 05a36535 authored by Geoff Baskwill's avatar Geoff Baskwill
Browse files

fix: ignore pax header "file"s in chart validation

Signed-off-by: default avatarGeoff Baskwill <me@geoffbaskwill.ca>
parent af4c14b5
No related merge requests found
Showing with 6 additions and 0 deletions
+6 -0
......@@ -93,6 +93,12 @@ func loadArchiveFiles(in io.Reader) ([]*BufferedFile, error) {
continue
}
switch hd.Typeflag {
// We don't want to process these extension header files.
case tar.TypeXGlobalHeader, tar.TypeXHeader:
continue
}
// Archive could contain \ if generated on Windows
delimiter := "/"
if strings.ContainsRune(hd.Name, '\\') {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment