helm/pkg/chart
Adam Reese 657ce552cb
fix(*): Validate metadata semver and printable characters
ref: https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx

* Skip invalid chart versions when reading the repository index file or
  when programmatically adding a chart version.
* Adds semver validation and strips non-printable characters and
  normalizes spaces for string fields in Metadata.Validate()
* Fixes a unit test that was pulling a remote repo.  Now uses a local
  repo.
* Fixes ignored error in repo update command

Signed-off-by: Adam Reese <adam@reese.io>
2021-02-04 12:52:24 -08:00
..
loader Merge pull request #9009 from mattfarina/tests-for-8948 2020-11-10 14:32:47 -05:00
chart.go Merge pull request from GHSA-9vp5-m38w-j776 2020-09-17 12:31:23 -06:00
chart_test.go Add unit test for pkg/chart/chart.go 2020-04-27 14:19:02 +08:00
dependency.go fix(*): Validate metadata semver and printable characters 2021-02-04 12:52:24 -08:00
dependency_test.go fix(*): Validate metadata semver and printable characters 2021-02-04 12:52:24 -08:00
errors.go Merge pull request from GHSA-9vp5-m38w-j776 2020-09-17 12:31:23 -06:00
file.go fix(chart): add JSON tags to chart object 2019-11-01 14:50:32 -07:00
metadata.go fix(*): Validate metadata semver and printable characters 2021-02-04 12:52:24 -08:00
metadata_test.go fix(*): Validate metadata semver and printable characters 2021-02-04 12:52:24 -08:00