https://bugs.kde.org/show_bug.cgi?id=483297

--- Comment #8 from Méven <[email protected]> ---
Git commit 4371162b34ad25092338340ecac8038f42b9c4d7 by Méven Car, on behalf of
Anton Bolshakov.
Committed on 17/09/2026 at 06:58.
Pushed by meven into branch 'master'.

Let KIO resolve the host of OSC 8 file:// URLs

EscapeSequenceUrlExtractor special-cased file:// hyperlinks that carry a
host: it stripped the host only when it exactly matched "localhost" or
QHostInfo::localHostName(), and otherwise aborted, dropping the link
entirely. This discarded valid OSC 8 hyperlinks whose host was e.g. the
machine's FQDN, as emitted by `ls --hyperlink`.

Keep the URL verbatim (including any host) and let KIO resolve it when
the link is activated; KIO's file worker strips a local host per
RFC 8089. This also drops the duplicated host handling from Konsole.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

M  +4    -10   src/EscapeSequenceUrlExtractor.cpp

https://invent.kde.org/utilities/konsole/-/commit/4371162b34ad25092338340ecac8038f42b9c4d7

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to