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
[Bug]: GNU ls hyperlink filenames cannot open files on the emitting server #37132
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Open a project terminal on a Linux T3 server with GNU coreutils.
Create one.txt and run ls --hyperlink=always --color=never -1 one.txt.
Ctrl-click the displayed filename. GNU ls emits an OSC 8 URI containing the server's own hostname.
Expected behavior
The local file opens through the configured editor, as it does with a hostless file URI.
Actual behavior
The filename renders as a link but activation does nothing. The environment's own hostname becomes a UNC path and the metadata guard declines it. This is distinct from the cwd-prefix issue fixed by #36025 (related closed #36005).
Impact
Minor bug or occasional failure
Version or commit
Reproduced on main e101cae; also proven on main c8a1b5f in the companion PR.
Environment
Linux server, GNU coreutils 9.4, Chromium web client. No native or Windows claim.
Logs or stack traces
file://<server-hostname>/<absolute-project-path>/one.txt is classified as \\<server-hostname>\<path>, while a hostless URI to the same file opens.
Screenshots, recordings, or supporting files
Found by the Terminal Improvement Bug Hunt. Independently reproduced twice by Claude Opus 5.5 at medium effort on main 32c069e; the fix thread reproduced the unchanged scenario on e101cae. A repository scenario verifies editor dispatch after scrolling and resizing.
Workaround
Emit a hostless OSC 8 file URI instead of one containing the machine hostname.
Activity