A feature-rich command-line audio/video downloader
Forbid forward slash in win32 file names (fixes issue #147)
Ricardo Garciaca6a11fa59aa
diff --git a/youtube-dl b/youtube-dlindex 5e98dfde48..ea4b3fded8 100755--- a/youtube-dl+++ b/youtube-dl@@ -99,7 +99,7 @@ def sanitize_open(filename, open_mode):return (stream, filename)except (IOError, OSError), err:# In case of error, try to remove win32 forbidden chars- filename = re.sub(ur'[<>:"\|\?\*]', u'#', filename)+ filename = re.sub(ur'[/<>:"\|\?\*]', u'#', filename)# An exception here should be caught in the callerstream = open(filename, open_mode)