Summary: | kde-open functions incorrectly when given a URL with a port (opens a URL with port as the line number) | ||
---|---|---|---|
Product: | [Plasma] kde-cli-tools | Reporter: | BugShelf |
Component: | general | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 6yearold, nate, P.Suetterlin, rdieter |
Priority: | NOR | ||
Version: | 5.16.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=398998 | ||
Latest Commit: | https://commits.kde.org/kde-cli-tools/42ef318a9d1c454f96b60181d8231a59233720ea | Version Fixed In: |
Description
BugShelf
2019-06-13 04:23:21 UTC
kde-open5 works as expected for me, I cannot reproduce what's reported here. I'm testing kde-cli-tools-5.15.5, so possible this may be a 5.16 regression Yes, caused by the commit from bug 398998. Can confirm it used to work as expected in 5.15, only encountered this issue after an upgrade to 5.16. Looking at the referenced bug, perhaps this behavior should be limited to the `file` protocol - I'm assuming it was unintentional to have this apply to HTTP/FTP/etc. So why is nothing happening there? This BUG is really annoying and breaks other applications that want/need to open web links in a browser. It turned out, that `xdg-open http://localhost:3000/` works, while `xdg-open http://localhost:3000` doesn't. I've created a Phab diff fixing the issue: http://phabricator.kde.org/D22525 Git commit 6d86fd453417464509860b7be8c3cbf0e4a8d27b by Gleb Popov. Committed on 20/07/2019 at 15:19. Pushed by arrowdodger into branch 'master'. kioclient: Don't convert `:x:y` to `?line=x&column=y` for URLs starting with remote schemes. Test Plan: `kioclient5 exec http://localhost:9000` now works correctly. Subscribers: plasma-devel, #frameworks Differential Revision: https://phabricator.kde.org/D22525 M +9 -0 kioclient/urlinfo.h https://commits.kde.org/kde-cli-tools/6d86fd453417464509860b7be8c3cbf0e4a8d27b Git commit 42ef318a9d1c454f96b60181d8231a59233720ea by David Faure, on behalf of Gleb Popov. Committed on 20/07/2019 at 20:27. Pushed by dfaure into branch 'Plasma/5.16'. kioclient: Don't convert `:x:y` to `?line=x&column=y` for URLs starting with remote schemes. Test Plan: `kioclient5 exec http://localhost:9000` now works correctly. Subscribers: plasma-devel, #frameworks Differential Revision: https://phabricator.kde.org/D22525 M +9 -0 kioclient/urlinfo.h https://commits.kde.org/kde-cli-tools/42ef318a9d1c454f96b60181d8231a59233720ea |