gvfsd-archive URIs don't work on KDE (KIO-GIOBridge)
Submitted by Norbert Frese
Assigned to gvf..@..e.bugs
Link to original bug (#589721)
Description
Please describe the problem: GVFS escapes the location of the archive in the host part of the URI using percent characters.
For instance:
archive://file%253A%252F%252F%252Ftmp%252Fsomething.tar.gz/
The problem is that the escape sequences are lost on the way through KIO and Dolphin:
This is what appears in the Dolphin location bar:
archive://file:///tmp/something.tar.gz/
and this when it hits the kio-gioslave again:
archive://file///tmp/something.tar.gz/
The reason is, that QUrl is unescaping the escape sequences in the host part. (http://doc.trolltech.com/4.5/qurl.html)
According to a Qt developer, the hostname part of URLs may not contain percent characters (in valid URLs).
Possible solutions:
- When putting the escaped location of the archive into the path segment of the URL, the escape sequences are preserved.
For instance this is ok:
archive:file%253A%252F%252F%252Ftmp%252Fsomething.tar.gz/
- Using a different escape character.
Steps to reproduce:
Actual results:
Expected results:
Does this happen every time?
Other information: