1
=== modified file 'podcast/rb-podcast-manager.c'
2
Index: rhythmbox-2.97/podcast/rb-podcast-manager.c
3
===================================================================
4
--- rhythmbox-2.97.orig/podcast/rb-podcast-manager.c 2012-06-04 10:24:44.591435382 +0100
5
+++ rhythmbox-2.97/podcast/rb-podcast-manager.c 2012-06-04 10:24:55.207434915 +0100
17
if (local_file_name == NULL) {
18
- /* fall back to the basename from the original URI */
19
- local_file_name = g_file_get_basename (data->source);
20
- rb_debug ("didn't get a filename from the file info request; using basename %s", local_file_name);
23
+ /* fall back to the escaped URI */
24
+ local_file_name = g_file_get_uri (data->source);
25
+ for (c = local_file_name; *c; c++) {
26
+ if (!isalnum (*c) && *c != '.')
29
+ rb_debug ("didn't get a filename from the file info request; using escaped uri %s", local_file_name);
32
/* if the filename ends with the query string from the original URI,