conduit r1701 - in trunk: . conduit



Author: jstowers
Date: Fri Aug 29 23:40:25 2008
New Revision: 1701
URL: http://svn.gnome.org/viewvc/conduit?rev=1701&view=rev

Log:
	* conduit/Vfs.py: fat32 filesystems are reported as msdos by gio


Modified:
   trunk/   (props changed)
   trunk/ChangeLog
   trunk/conduit/Vfs.py

Modified: trunk/conduit/Vfs.py
==============================================================================
--- trunk/conduit/Vfs.py	(original)
+++ trunk/conduit/Vfs.py	Fri Aug 29 23:40:25 2008
@@ -147,13 +147,19 @@
     """
     Removes illegal characters in uri that cannot be stored on the 
     given filesystem - particuarly fat and ntfs types
+    
+    Also see:    
+    http://bugzilla.gnome.org/show_bug.cgi?id=309584#c20
     """
     uri = conduit.utils.ensure_string(uri)
     import string
-    
+
     ILLEGAL_CHARS = {
-        "vfat"  :   "\\:*?\"<>|",
-        "ntfs"  :   "\\:*?\"<>|"
+        "fat"       :   "\\:*?\"<>|/",
+        "vfat"      :   "\\:*?\"<>|/",
+        "msdos"     :   "\\:*?\"<>|/",
+        "msdosfs"   :   "\\:*?\"<>|/",
+        "ntfs"      :   "\\:*?\"<>|/"
     }
 
     illegal = ILLEGAL_CHARS.get(filesystem,None)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]