gvfs r1275 - in trunk: . daemon
- From: gicmo svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1275 - in trunk: . daemon
- Date: Fri, 15 Feb 2008 11:50:52 +0000 (GMT)
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 <gicmo gnome org>
* 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]