https://bugs.kde.org/show_bug.cgi?id=398809
Bug ID: 398809 Summary: "unsafe characters" in the URL of a bookmark end up encoded in the invoked URL Product: krunner Version: 5.13.5 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: bookmarks Assignee: k...@privat.broulik.de Reporter: kosse...@kde.org Target Milestone: --- Given Firefox with a bookmark for a URL which uses "unsafe" characters (term found on quick search, not sure if correct one), e.g. "|". When invoking the bookmark by krunner (via a match of the bookmark description), the URL seems to be sent to Firefox completely encoded, i.e. also those unsafe characters being encoded. E.g. "index.php?object=tx|37" becomes "index.php?object=tx%257C37". Which seems to fail with the web server which expects those "unsafe" characters in the URLs and does not try to decode anything. No public URL known sadly, to be an example here. Looking at the bookmarks krunner code, it seems the raw URL string is taken from the Firefox bookmark database and then fed into a QUrl (with QUrl::TolerantMode) and then passed to QDesktopServices: ``` QUrl url = QUrl(term); QDesktopServices::openUrl(url); ``` https://cgit.kde.org/plasma-workspace.git/tree/runners/bookmarks/bookmarksrunner.cpp#n111 Had no chance yet to add some debug output/inspection to find where the (wrong) encoding is actually applied. -- You are receiving this mail because: You are watching all bug changes.