GNOME Bugzilla – Bug 319349
gnome vfs dav module don't handle properly file containing = or , characters
Last modified: 2005-10-20 22:49:28 UTC
- Create a file on a webdav containing the = or the , characters - the file keeps its "new document" name - push the resfresh button - the real name appears - try to right click on it - the file disappears - push the resfresh button - the file reappears - try to copy it - nothing happens
The problem is that when nautilus tries to retrieve info about the file, the do_get_file_info lies of http-neon-method.c always return NOT_FOUND. The bug lies in the propfind_result function: if (ne_path_compare (ctx->path, uri.path) == 0) { DEBUG_HTTP_3 ("target"); ctx->target = info; The comparison doesn't succeed because ctx->path is escaped but uri.path is not, so no info return for the file, so nautilus thinks it doesn't exist.
Created attachment 53714 [details] [review] Fix the comparison between escaped and unescaped string in http-neon-module.c A patch to solve this bug. I unescape ctx->path before doing the comparison. I don't know if it's the best way since I don't know gnomevfs very much.
*** This bug has been marked as a duplicate of 166969 ***