Author: gicmo
Date: Fri Feb 15 11:50:51 2008
New Revision: 1275
URL: http://svn.gnome.org/viewvc/gvfs?rev=1275&view=rev

Log:
2008-02-15  Christian Kellner  <[EMAIL PROTECTED]>

        * daemon/gvfsbackendhttp.c: (g_vfs_backend_uri_for_filename):
        Escape the filename.


Modified:
   trunk/ChangeLog
   trunk/daemon/gvfsbackendhttp.c

Modified: trunk/daemon/gvfsbackendhttp.c
==============================================================================
--- trunk/daemon/gvfsbackendhttp.c      (original)
+++ trunk/daemon/gvfsbackendhttp.c      Fri Feb 15 11:50:51 2008
@@ -97,7 +97,9 @@
    * be a directory in this case).
    */
   path = g_build_path ("/", uri->path, filename, NULL);
-  soup_uri_set_path (uri, path);
+  g_free (uri->path);
+  uri->path = g_uri_escape_string (path, G_URI_RESERVED_CHARS_ALLOWED_IN_PATH,
+                                   FALSE);
   g_free (path);
 
   return uri;
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to