After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629660 - Nautilus cannot access the content of a webdav url containing special characters
Nautilus cannot access the content of a webdav url containing special characters
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: webdav backend
1.6.x
Other Linux
: Normal normal
: ---
Assigned To: Christian Kellner
gvfs-maint
: 603422 634003 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-09-14 13:49 UTC by vsteenhoute
Modified: 2011-05-18 12:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Decode path URIs before comparing (1.34 KB, patch)
2010-12-03 17:23 UTC, Roman Yepishev
none Details | Review
Decode the URLs (6.95 KB, patch)
2011-05-17 16:41 UTC, Christian Kellner
none Details | Review

Description vsteenhoute 2010-09-14 13:49:56 UTC
nautilus version : nautilus-2.30.1-3.16.x86_64
gvfs : gvfs-backends-1.6.1-2.7.x86_64

When browsing with nautilus a webdav url that contain a special character like 'é', it failed with the following error :

Cannot display « dav://par-teaming.par.novell...Espace%20de%20travail%20privé ».
error: invalid response

If I browse and access a folder without special character, it works fine.

I try with : 
dav://my-server.test...Espace de travail privé
or
dav://my-server.test...Espace%20de%20travail%20priv%E9

It failed with the same error.

Beside doing the same with firefox or epiphany and using http:// instead of dav:// works, I can access folder with special char.
Comment 1 vsteenhoute 2010-09-14 14:21:15 UTC
I finally manage to access the folder with the following URL : 
dav://my-server.com/ssfs/files/library/Espace%20de%20travail%20prive

(replacing manually "é" by "e")

Seems that accent are just stripped and we just have to type the character without.
Comment 2 Roman Yepishev 2010-12-03 17:22:17 UTC
I come from https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/683443 and ended up gvfsbackenddav patched to soap_uri_decode the paths before comparison.
Comment 3 Roman Yepishev 2010-12-03 17:23:06 UTC
Created attachment 175796 [details] [review]
Decode path URIs before comparing
Comment 4 Steffen 2011-04-05 09:28:16 UTC
Any updates on this? I also ran into this problem and come to the same conclusion that paths should be decoded before comparing them. The patch does fix the problem for me.
Comment 5 Christian Kellner 2011-05-17 16:31:19 UTC
*** Bug 634003 has been marked as a duplicate of this bug. ***
Comment 6 Christian Kellner 2011-05-17 16:41:56 UTC
Created attachment 187974 [details] [review]
Decode the URLs

We indeed have to decode the URL before comparing. Thanks Roman for the inital work.I have made a different version of the patch that I will be committing to git master soon.
Comment 7 Christian Kellner 2011-05-17 16:55:05 UTC
*** Bug 603422 has been marked as a duplicate of this bug. ***
Comment 8 Christian Kellner 2011-05-18 12:27:26 UTC
Committed a modified version to git master (a319d7d). Thanks everybody.