Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cleaner] Use data filter for extraction
Since Python 3.12, archive.extractall would require setting an extraction filter otherwise an exception is raised. See PEP 706 for more. Since sos extracts just tarballs that should be compliant with safe extraction (no extracted file outside the target directory etc.), we should stick to the data filter. Relevant: sosreport#3319 Closes: sosreport#3330 Signed-off-by: Pavel Moravec <[email protected]>
- Loading branch information