fixed issue #1362, == in args
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ def _router_default():
|
||||
# pathological backtracking from nested patterns.
|
||||
#
|
||||
file_match = r'([-+=@$%\w]|(?<=[-+=@$%\w])[./])*$', # legal static subpath
|
||||
args_match=r'([\w@ -]|(?<=[\w@ -])[.=])*$', # legal arg in args
|
||||
args_match=r'([\w@ -=]|(?<=[\w@ -=])[.])*$', # legal arg in args
|
||||
)
|
||||
return router
|
||||
|
||||
|
||||
Reference in New Issue
Block a user