https://bugs.kde.org/show_bug.cgi?id=429408
Oded Arbel <o...@geek.co.il> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |o...@geek.co.il --- Comment #10 from Oded Arbel <o...@geek.co.il> --- I have the same issue with Slack - using "Open in desktop app" from the website running under Chrome, results in kde5-open being called and mangling the authority section of the URL. (In reply to kde from comment #7) > which seems to be erroneously converting to > lower case as a matter of course. The previously cited RFC, 3490/3491, > obsoleted by 5890/5891, does make mention of lower case conversions, but > strictly in the context of generating unique DNS labels for hostnames. I believe the correct RFC for QURL implementations - in this case - is RFC 3986: URI Generic Syntax, where section 3.2.2 says: "The host subcomponent is case-insensitive". Granted that a reading of the spec to mean "fold everything to lowercase" is reaching a bit, but as per RFC 1122, p1.2.2 - receivers should accept lowercased host names. According to discussions with Slack support, they are aware of this issue -which depending on how you look at it, is either KDE doing unexpected things, or Slack not complying with RFC 3986 - even though there's no way to know that because they don't have a public bug tracker. The also suggested a workaround: Apparently if you launch the `slack://...` URL from Firefox, it works fine: the URL isn't mangled. I'm not sure what Firefox uses instead of kde5-open, but looking at the code for xdg-open, I can see that it has code to open flatpak apps that uses a dbus call, and in that case no case folding is happening and the application is launched successfully - event if the app is not a flatpak app. For example - the following command launches the DEB installed Slack on my system: gdbus call --session --dest org.freedesktop.portal.Desktop --object-path /org/freedesktop/portal/desktop --method org.freedesktop.portal.OpenURI.OpenURI "" "slack://MAGICTOKEN/magic-login/id-id-id-id-id-id-id-id-id-id-id-id-id-id-id-id-id-id-id-id" {} This call is handled by the xdg-desktop-portal process. Also, it may only work because Firefox is running in a snap? -- You are receiving this mail because: You are watching all bug changes.