do not allow colon in filenames
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 27 Mar 2006 05:22:47 +0000 (05:22 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 27 Mar 2006 05:22:47 +0000 (05:22 +0000)
lib/python/Tools/Directories.py

index d6ffeee..2156a9b 100644 (file)
@@ -100,7 +100,7 @@ def fileExists(f):
 
 def getRecordingFilename(basename):
                # filter out non-allowed characters
 
 def getRecordingFilename(basename):
                # filter out non-allowed characters
-       non_allowed_characters = "/.\\"
+       non_allowed_characters = "/.\\:"
        filename = ""
        
        basename = basename.replace('\xc2\x86', '').replace('\xc2\x87', '')
        filename = ""
        
        basename = basename.replace('\xc2\x86', '').replace('\xc2\x87', '')