rhythmbox r5982 - in trunk: . sources
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5982 - in trunk: . sources
- Date: Tue, 14 Oct 2008 12:39:22 +0000 (UTC)
Author: jmatthew
Date: Tue Oct 14 12:39:22 2008
New Revision: 5982
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5982&view=rev
Log:
2008-10-14 Jonathan Matthew <jonathan d14n org>
* sources/rb-library-source.c: (sanitize_path):
The filename bits we're creating here aren't URI fragments, so we
don't need to escape them as if they were. Fixes #555767.
Modified:
trunk/ChangeLog
trunk/sources/rb-library-source.c
Modified: trunk/sources/rb-library-source.c
==============================================================================
--- trunk/sources/rb-library-source.c (original)
+++ trunk/sources/rb-library-source.c Tue Oct 14 12:39:22 2008
@@ -784,7 +784,6 @@
static char *
sanitize_path (const char *str)
{
- gchar *res = NULL;
gchar *s;
/* Skip leading periods, otherwise files disappear... */
@@ -804,9 +803,7 @@
g_strdelimit (s, "\t ", '_');
}
- res = g_uri_escape_string (s, G_URI_RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT, TRUE);
- g_free (s);
- return res;
+ return s;
}
static char *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]