You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
filesystem: a dangling symlink is reported as "Parent directory does not exist" #5191
When the requested path is a symlink whose target does not exist, fs.realpath in validatePath (src/filesystem/lib.ts) fails with ENOENT and the code falls through to resolveUnicodeEquivalentPath, whose own realpath of the entry fails as well. validatePath reports that as "Parent directory does not exist:
", naming a directory that does exist. src/filesystem/__tests__/server-paths.test.ts pins the message.
Expected
The error says the path is a broken symlink. Refusing the request is correct and stays.
The PR(s) above targeted the pre-refactor code and are closed as part of the backlog triage in #4875; this issue is where the work continues, with the PR(s) as a prototype. Thank you to their authors.
Activity
cliffhall commentedon Oct 20, 2026
Triage: Priority Low (total 5)
buglabelFiled from the PR backlog triage (#4877). Board: Servers V2 (#43), Status
Incoming, awaiting maintainer review (no milestone yet).