Bug 483297 - ls --hyperlink links (file URLs with a host name) do not work
Summary: ls --hyperlink links (file URLs with a host name) do not work
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 23.08.1
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-11 22:14 UTC by derikson3
Modified: 2024-03-12 00:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description derikson3 2024-03-11 22:14:34 UTC
SUMMARY

GNU coretils outputs file URLs with a hostname when using "ls --hyperlink", e.g. "file://myhost/tmp".  Clicking links like these does nothing, but if the host name is removed they work.

STEPS TO REPRODUCE

1. Edit the current profile and turn on "Allow escape sequences for links"
2. ls --hyperlink
3. ctl + click a file or directory

or

1. echo file://$(hostname)/tmp
2. ctl + click the output

or

1. echo file://localhost/tmp
2. ctl + click the output

OBSERVED RESULT

Nothing happens.

EXPECTED RESULT

The file or directory is opened in the correct application.
This does work properly for file:///tmp , but doesn't work for file://localhost/tmp . It also works for file://tmp , which it probably shouldn't

SOFTWARE/OS VERSIONS

Linux: 6.5.0
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10