# HG changeset patch # User rosfran # Date 1169231977 0 # Node ID 08c4bc759e7aaec8211ee4a7da3b78b4202511ce # Parent e5199e48abecf2a73b3049fafbeb2cfb356108c1 [svn r282] Added character conversion to the URI got from the GnomeVfsURI structure. diff -r e5199e48abec -r 08c4bc759e7a libgnomevfs2-mythtv/modules/mythtv-method.c --- a/libgnomevfs2-mythtv/modules/mythtv-method.c Fri Jan 19 18:38:22 2007 +0000 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c Fri Jan 19 18:39:37 2007 +0000 @@ -97,10 +97,12 @@ myth_handle->content_size = -1; /* Creates and fills out the backend info structure */ - backend_info = gmyth_backend_info_new_with_uri ( gnome_vfs_uri_to_string( uri, GNOME_VFS_URI_HIDE_NONE ) ); + backend_info = gmyth_backend_info_new_with_uri ( + gnome_vfs_unescape_string( gnome_vfs_uri_to_string( uri, GNOME_VFS_URI_HIDE_NONE ), "" ) ); /* creates an instance of */ - gmyth_uri = gmyth_uri_new_with_value( gnome_vfs_uri_to_string( uri, GNOME_VFS_URI_HIDE_NONE ) ); + gmyth_uri = gmyth_uri_new_with_value( + gnome_vfs_unescape_string( gnome_vfs_uri_to_string( uri, GNOME_VFS_URI_HIDE_NONE ), "" ) ); /* Connect to the backend */ if ( gmyth_uri != NULL && ( is_livetv = gmyth_uri_is_livetv( gmyth_uri ) ) == TRUE ) {