Merge pull request #7085 from msfuko/carry-over-ignore-pax-global-header

fix(pkg): ignore pax header files in chart validation
pull/7098/head
Matthew Fisher 5 years ago committed by GitHub
commit 8f87900860
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -126,6 +126,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, '\\') {

Loading…
Cancel
Save