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

Max glob depth #161

Open
Jongy opened this issue Feb 3, 2025 · 0 comments
Open

Max glob depth #161

Jongy opened this issue Feb 3, 2025 · 0 comments

Comments

@Jongy
Copy link

Jongy commented Feb 3, 2025

Symlinks can cause the glob mechanism to enter an infinite loop. One approach to limit this is to opt out from following links (as suggested in #62), and another one that can be useful to keep the normal behavior of following symlinks while protecting from buggy / malicious directory patterns would be to allow limiting the depth we glob into, which would be a useful feature in MatchOptions.

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

No branches or pull requests

1 participant