mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
This commit adds multiple safe guards for relative paths, ensuring they never traverse outside the working directory. The `SafeRelativePath` flag calculates the safe relative path based on a relative base dir, which results in a flattened path. The write methods of `manifestgen` make use of the `SecureJoin` as well, to ensure writes are never outside of the given directory when used as a lib outside of the CLI. Signed-off-by: Hidde Beydals <hello@hidde.co> |
||
|---|---|---|
| .. | ||
| arch.go | ||
| decryption_provider.go | ||
| ecdsa_curve.go | ||
| helm_chart_source.go | ||
| helm_release_values.go | ||
| kustomization_source.go | ||
| log_level.go | ||
| public_key_algorithm.go | ||
| rsa_key_bits.go | ||
| safe_relative_path.go | ||
| safe_relative_path_test.go | ||
| source_bucket_provider.go | ||