summaryrefslogtreecommitdiff
path: root/client/gdaemonvfs.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-03-05 14:26:48 +0000
committerAlexander Larsson <alexl@src.gnome.org>2009-03-05 14:26:48 +0000
commit090fa3125af62356c27bb4873b87a4d72ccfae63 (patch)
treea2b3c4cc7e3ba984da139e793dfb26c35868b6d2 /client/gdaemonvfs.c
parent33824d8b0733ee95e0d5af5c2f65919d3cd5da67 (diff)
downloadgvfs-090fa3125af62356c27bb4873b87a4d72ccfae63.tar.gz
Bug 569199 – incorrectly open smb workgroup using a space
2009-03-05 Alexander Larsson <alexl@redhat.com> Bug 569199 – incorrectly open smb workgroup using a space * client/gvfsuriutils.c (g_vfs_encode_uri), (g_vfs_decode_uri): Escape and unescape host part too. This means we handle e.g. smb workgroups with spaces in them. Allowing escapes in hostnames complies with RFC 3986. * client/gdaemonvfs.c (get_mountspec_from_uri): Fix indentation svn path=/trunk/; revision=2288
Diffstat (limited to 'client/gdaemonvfs.c')
-rw-r--r--client/gdaemonvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gdaemonvfs.c b/client/gdaemonvfs.c
index 94f7e9ba..c9f2cc97 100644
--- a/client/gdaemonvfs.c
+++ b/client/gdaemonvfs.c
@@ -234,7 +234,7 @@ get_mountspec_from_uri (GDaemonVfs *vfs,
if (mountable && mountable->host_is_inet)
{
/* Convert hostname to lower case */
- str_tolower_inplace (decoded->host);
+ str_tolower_inplace (decoded->host);
/* Remove brackets aroung ipv6 addresses */
l = strlen (decoded->host);