Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guarddog/utils/archives.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ def recurse_add_perms(path):
# Note: zip.extract cleans up any malicious file name
# such as directory traversal attempts This is not the
# case of zipfile.extractall
zip.extract(file, path=os.path.join(target_directory, file))
zip.extract(file, path=target_directory)
else:
raise ValueError(f"unsupported archive extension: {source_archive}")