Blob Blame History Raw
Index: plugins/ipod/rb-ipod-source.c
===================================================================
--- plugins/ipod/rb-ipod-source.c	(révision 4727)
+++ plugins/ipod/rb-ipod-source.c	(copie de travail)
@@ -1176,6 +1176,8 @@
 	pc_filename = utf8_to_ascii (tmp);
 	g_free (tmp);
 
+	g_strdelimit (pc_filename, "\"", '\'');
+	g_strdelimit (pc_filename, ":/|<>*?\\", '_');
 	g_assert (g_utf8_validate (pc_filename, -1, NULL));
 	/* Now we have a valid UTF-8 filename, try to find out where to put
 	 * it on the iPod