SUMMARY When you try to connect to any service with a URL including a password, if the password contains a question mark (?) the entire URL gets wrongly converted to the http protocol for some reason, even if it's already an http:// one. If you try to escape the question mark a-la urlencode(), the connection works but then it sends the wrong password, because it's not decoded. So currently it's not possible to connect to any service using an URL with a password containing a question mark. STEPS TO REPRODUCE 1. Try to connect to "ftp://test:pass?word@example.com" OBSERVED RESULT The URL gets converted to "http://ftp/test:pass/?word@example.com" for some reason and then Dolphin tries to open your web browser. EXPECTED RESULT An ftp connection is attempted with the correct password (including the "?"). SOFTWARE VERSIONS (available in About System) KDE Plasma Version: 5.12.7 KDE Frameworks Version: 5.47.0 Qt Version: 5.9.5
The problem is also present in Plasma 5.14, Application 18.08.02.
This is due to a Qt bug in QUrl::fromUserInput. Right now, the Qt bug tracker does not let me search for existing bugs or create an account to report it. Anyone else can do that ?
Reported in https://bugreports.qt.io/browse/QTBUG-72319