Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
05a36535
Commit
05a36535
authored
Jan 22, 2019
by
Geoff Baskwill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: ignore pax header "file"s in chart validation
Signed-off-by:
Geoff Baskwill
<
me@geoffbaskwill.ca
>
parent
af4c14b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
load.go
pkg/chartutil/load.go
+6
-0
No files found.
pkg/chartutil/load.go
View file @
05a36535
...
...
@@ -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
,
'\\'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment