Index: lib/rb-file-helpers.c
===================================================================
--- lib/rb-file-helpers.c	(revision 5883)
+++ lib/rb-file-helpers.c	(working copy)
@@ -981,7 +981,7 @@
 		}
 
 		g_strdelimit (full_path, "\"", '\'');
-		g_strdelimit (full_path, ":|<>*?\\", '_');
+		g_strdelimit (full_path, ":|<>*?\\#", '_');
 
 		/* create a new uri from this */
 		sane_uri = g_filename_to_uri (full_path, hostname, &error);
