Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frispete:Tumbleweed
kde-cli-tools6
99.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 99.diff of Package kde-cli-tools6
diff --git a/kioclient/kioclient.cpp b/kioclient/kioclient.cpp index 98f7cc0cdafd7f9c1ed4ad7293c33302d2bcb003..c9d0a560a433fd1d86cccff13a8cfa9cb2760adb 100644 --- a/kioclient/kioclient.cpp +++ b/kioclient/kioclient.cpp @@ -232,8 +232,16 @@ static void checkArgumentCount(int count, int min, int max) } #ifndef KIOCORE_ONLY -bool ClientApp::kde_open(const QString &url, const QString &mimeType, bool allowExec) +bool ClientApp::kde_open(const QString &_url, const QString &mimeType, bool allowExec) { + QString url = _url; + if (url.startsWith(QLatin1String("thunderlink://")) || url.startsWith(QLatin1String("slack://"))) { + // thunderlink:// -> thunderlink:/// so QUrl doesn't break the payload's + // case sensitivity which would otherwise be at the hostname section + const QLatin1Char slash('/'); + url.insert(url.indexOf(slash), slash); + } + UrlInfo info(url); if (!info.atStart()) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor