Add scheme to url_build error handler parameters

This commit is contained in:
rocambolesque 2016-09-09 12:11:18 +02:00 committed by David Lord
parent cce1d62fcf
commit e111d8dbf3
2 changed files with 4 additions and 0 deletions

View file

@ -331,6 +331,7 @@ def url_for(endpoint, **values):
values['_external'] = external
values['_anchor'] = anchor
values['_method'] = method
values['_scheme'] = scheme
return appctx.app.handle_url_build_error(error, endpoint, values)
if anchor is not None: