Explorar o código

better allow path separators in IDs

Nick Mathewson %!s(int64=14) %!d(string=hai) anos
pai
achega
afe1909d67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)