fixed router regex runaway, thanks Jonathan

This commit is contained in:
mdipierro
2012-11-23 11:58:36 -06:00
parent b41e89586c
commit 2f06fe4d2a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.2.1 (2012-11-23 08:01:16) stable
Version 2.2.1 (2012-11-23 11:57:55) stable
+1 -1
View File
@@ -76,7 +76,7 @@ def _router_default():
map_hyphen=False,
acfe_match=r'\w+$', # legal app/ctlr/fcn/ext
file_match=r'([-+=@$%\w]+[./]?)+$', # legal static subpath
args_match=r'([\w@ -]+[=.]?)*$', # legal arg in args
args_match=r'([\w@ -]|(?<=[\w@ -])[.=])*$', # legal arg in args
)
return router