fixed regex (test)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
127.0.0.1 1 1468786268
|
||||
|
||||
+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@ -])[.])*$',
|
||||
)
|
||||
return router
|
||||
|
||||
|
||||
Reference in New Issue
Block a user