Index: patch.py |
diff --git a/patch.py b/patch.py |
index 9b65ce1cfaed3bc1fbb70551f9cc43346a8f01de..7dcefc011ae81b155604c2e78432e75231cbb4ae 100644 |
--- a/patch.py |
+++ b/patch.py |
@@ -50,7 +50,7 @@ class FilePatchBase(object): |
def _process_filename(filename): |
filename = filename.replace('\\', '/') |
# Blacklist a few characters for simplicity. |
- for i in ('%', '$', '..', '\'', '"'): |
+ for i in ('$', '..', '\'', '"', '<', '>', ':', '|', '?', '*'): |
if i in filename: |
raise UnsupportedPatchFormat( |
filename, 'Can\'t use \'%s\' in filename.' % i) |