Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean filepath before reading the content
Looks like security job is failing because it detect unsanitized input from file, this should fix following ``` ✗ [Medium] Path Traversal ID: 2ce4a8d7-4fb1-41b5-8841-dc76ea48e503 Path: pkg/crc/machine/bundle/repository.go, line 41 Info: Unsanitized input from file name flows into os.ReadFile, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to read arbitrary files. ```
- Loading branch information