Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return an error for nonlocal paths in test proxy archives #24013

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

chlowell
Copy link
Member

@chlowell chlowell commented Jan 27, 2025

This prevents overwriting arbitrary files outside the target directory. We already return an error for such paths in zips but not in tarballs. I added a test for both cases.

@chlowell chlowell merged commit acb7077 into Azure:main Jan 27, 2025
14 checks passed
@chlowell chlowell deleted the tarslip branch January 27, 2025 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants