Skip to content

fix: skip symbolic links during directory walk#91

Open
leno23 wants to merge 1 commit into
dolph:mainfrom
leno23:fix/skip-symlinks-issue-2-v2
Open

fix: skip symbolic links during directory walk#91
leno23 wants to merge 1 commit into
dolph:mainfrom
leno23:fix/skip-symlinks-issue-2-v2

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 30, 2026

Fixes #2

Made with Cursor

Use Lstat and DirEntry type checks so find-replace does not follow
symlinks outside the working tree.

Fixes dolph#2
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.

Symlink traversal can rewrite/rename arbitrary files outside the working directory

1 participant