Skip to content

Treat a leading tilde in a symlink target as a literal character - #442

Closed
weichsel wants to merge 1 commit into
mainfrom
fix/literal-tilde-symlinks
Closed

weichsel wants to merge 1 commit into
mainfrom
fix/literal-tilde-symlinks

Conversation

@weichsel

Copy link
Copy Markdown
Owner

NSString.isAbsolutePath also accepts paths starting with a tilde. Check for a leading slash when resolving a symlink target, including links encountered along the path.

Fixes #438.

@weichsel weichsel self-assigned this Nov 18, 2026
@weichsel weichsel closed this Nov 18, 2026
@weichsel
weichsel deleted the fix/literal-tilde-symlinks branch November 19, 2026 07:20
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.

Unzipping through a symlink fails if its target starts with a tilde

1 participant