1.1 --- a/gmyth-stream/libgnomevfs2/modules/gmythstream-method.c Thu Apr 12 21:57:16 2007 +0100
1.2 +++ b/gmyth-stream/libgnomevfs2/modules/gmythstream-method.c Thu Apr 12 22:16:55 2007 +0100
1.3 @@ -167,15 +167,14 @@
1.4 gboolean open = FALSE;
1.5 gchar **prop;
1.6 GSList* walk;
1.7 - gchar *uri_str = gnome_vfs_uri_to_string (uri,
1.8 + gchar *uri_str = gnome_vfs_uri_to_string (uri,
1.9 GNOME_VFS_URI_HIDE_USER_NAME |
1.10 GNOME_VFS_URI_HIDE_PASSWORD |
1.11 GNOME_VFS_URI_HIDE_HOST_NAME |
1.12 GNOME_VFS_URI_HIDE_HOST_PORT |
1.13 - GNOME_VFS_URI_HIDE_TOPLEVEL_METHOD |
1.14 - GNOME_VFS_URI_HIDE_FRAGMENT_IDENTIFIER);
1.15 + GNOME_VFS_URI_HIDE_TOPLEVEL_METHOD);
1.16
1.17 - file = gnome_vfs_unescape_string (uri_str, NULL);
1.18 + file = gnome_vfs_unescape_string (uri_str, "");
1.19 c = file;
1.20 //skip "/"
1.21 entry = g_string_new ("");
1.22 @@ -189,7 +188,10 @@
1.23 args = g_slist_append (args, g_strdup (entry->str));
1.24 entry = g_string_assign (entry, "");
1.25 } else {
1.26 - g_string_append_c (entry, *c);
1.27 + if (*c == '#')
1.28 + g_string_append (entry, "//");
1.29 + else
1.30 + g_string_append_c (entry, *c);
1.31 }
1.32 c = c + 1;
1.33 } while (*c != '\0');