Skip to content

Fix: path boundaries - #70

Merged
sixem merged 2 commits into
masterfrom
fix/path-boundaries
Sep 16, 2026
Merged

sixem merged 2 commits into
masterfrom
fix/path-boundaries

Conversation

@sixem

@sixem sixem commented Sep 16, 2026

Copy link
Copy Markdown
Owner

Fixes the path-boundary checks from #57 so similarly named directories aren’t mistaken for being inside the base directory. Also removes the weak-mode symlink bypass while keeping intentionally exposed symlinks working. Added tests too, covering both strict and weak mode.

@sixem
sixem merged commit 567a1ec into master Sep 16, 2026
3 checks passed
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.

1 participant