forked from orbit-oss/flask
Fixed a bug, view_args not values
This commit is contained in:
parent
4d6cd1a390
commit
db28217574
2 changed files with 2 additions and 1 deletions
|
|
@ -1043,7 +1043,7 @@ class Flask(_PackageBoundObject):
|
|||
if bp is not None and bp in self.url_value_preprocessors:
|
||||
funcs = chain(funcs, self.url_value_preprocessors[bp])
|
||||
for func in funcs:
|
||||
func(request.endpoint, request.values)
|
||||
func(request.endpoint, request.view_args)
|
||||
|
||||
funcs = self.before_request_funcs.get(None, ())
|
||||
if bp is not None and bp in self.before_request_funcs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue