Skip to content

Add failing test for root traversal #7

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

Merged
merged 4 commits into from
Apr 23, 2025

Conversation

mrginglymus
Copy link
Contributor

No description provided.

src/fs.rs Outdated
"zipPath": "bar"
}],
["/a/b/__virtual__/foo-abcdef/2/c/foo.zip/bar", {
"basePath": "/",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what I'd expect, however, the current behaviour is to return ""

@arcanis arcanis marked this pull request as ready for review April 23, 2025 12:18
@arcanis arcanis merged commit 6eedd46 into yarnpkg:main Apr 23, 2025
1 check passed
@mrginglymus mrginglymus deleted the root-traversal branch April 23, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants