- Notifications
You must be signed in to change notification settings - Fork90
Sanitize symlink target#768
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
We can rewrite symlinks to ensure they are always relativeand remain within the extraction directory.
fd0365f tocd167e8CompareWe can rewrite symlinks to ensure they are always relativeand remain within the extraction directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I'll mark the PR as draft until ruff is back and we have a cleaner view on what are the logic changes being applied.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
AndrewFasano commentedFeb 21, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I believe there is still a bug inb11fe46: when extracting in a (host) directory within |
e3krisztian commentedFeb 22, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@qkaiser I wanted to make this PR just to have a place to discuss. It was extracted from a larger PR, and wanted to see CI test results, which our code checks (ruff) prevented, to push through the commit I have made some hacky fixes to be thrown away in the final version. This definitely needs a rewrite, so should have made it draft initially. I do not plan working on this soon, especially as the |
fe05dec to064e1adCompare
Uh oh!
There was an error while loading.Please reload this page.
Split off of#763 . There are still problems to solve here, see954c1cd#commitcomment-138623089 but tests should run with the exception of 2 failures.