GNOME Bugzilla – Bug 629660
Nautilus cannot access the content of a webdav url containing special characters
Last modified: 2011-05-18 12:27:26 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.
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.
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.
Created attachment 175796 [details] [review] Decode path URIs before comparing
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.
*** Bug 634003 has been marked as a duplicate of this bug. ***
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.
*** Bug 603422 has been marked as a duplicate of this bug. ***
Committed a modified version to git master (a319d7d). Thanks everybody.