浏览代码

better allow path separators in IDs

Nick Mathewson 14 年之前
父节点
当前提交
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)