Просмотр исходного кода

better allow path separators in IDs

Nick Mathewson 15 лет назад
Родитель
Сommit
afe1909d67
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/chutney/Templating.py

+ 1 - 1
lib/chutney/Templating.py

@@ -258,7 +258,7 @@ class _BetterTemplate(string.Template):
        characters in variable names.
     """
 
-    idpattern = r'[a-z0-9:_/\.\-]+'
+    idpattern = r'[a-z0-9:_/\.\-\/]+'
 
     def __init__(self, template):
         string.Template.__init__(self, template)