Bug 406383

Summary: kio-gopher 0.1.99 fails to display URLs containing a question mark separator, e.g. on Veronica2
Product: [Frameworks and Libraries] kio-gopher Reporter: Kevin Kofler <kevin.kofler>
Component: generalAssignee: Luigi Toscano <luigi.toscano>
Status: REPORTED ---    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kevin Kofler 2019-04-10 00:30:47 UTC
SUMMARY
With kio-gopher 0.1.99, Veronica2:
gopher://gopher.floodgap.com/1/v2
does not work as expected, because the question mark separator in the URLs gets swallowed somewhere in the stack. This may well be a bug somewhere lower in the stack, but for now I am blaming kio-gopher.

STEPS TO REPRODUCE
1. Start Falkon ≥ 3.1.0 with the KDE Frameworks Integration extension, or Konqueror with KHTML (or a recent enough Konqueror+KWebEnginePart, but the version of Konqueror I have installed is too old, so I was not able to try that, whereas I was able to reproduce the bug both with Falkon and with Konqueror+KHTML).
2. View gopher://gopher.floodgap.com/1/v2
3. Click on any search link, e.g. gopher://gopher.floodgap.com/1/world/search-hosts?com%20net%20info%20land%20org (or use the search form gopher://gopher.floodgap.com/7/v2/vs )

OBSERVED RESULT
'/world/search-hostscom net info land org' doesn't exist!
Manually escaping the question mark, as in:
gopher://gopher.floodgap.com/1/world/search-hosts%3Fcom%20net%20info%20land%20org
brings up the expected result.

EXPECTED RESULT
The links on Veronica2 should work without manually escaping a character.

SOFTWARE/OS VERSIONS
Fedora 28 with updates
Falkon 3.1.0
Konqueror 18.08.3
KDE Plasma 5.13.5
KDE Frameworks 5.55.0
QtWebEngine 5.12.2
Qt (QtBase etc.) 5.11.3
kio-gopher 0.1.99
Comment 1 Kevin Kofler 2019-04-10 00:48:56 UTC
(The kio_gopher RPM I use is a rebuild of the Fedora 29 package for Fedora 28, from this Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=34063191 )
Comment 2 Kevin Kofler 2020-03-29 21:52:34 UTC
Ping?