Skip to content
Myr

Add scheme to url_build error handler parameters

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by rocambolesque · committed by David Lord · parent 7481844 · Browse files · 2 files+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−0 removed

  • other:+4 added−0 removed

2 files+4 added−0 removed

modified:flask/helpers.py+1 added
329 unmodified lines
330 # deal with that sort of stuff.331 values['_external'] = external332 values['_anchor'] = anchor333 values['_method'] = method334 values['_scheme'] = scheme335 return appctx.app.handle_url_build_error(error, endpoint, values)336337 if anchor is not None:338 rv += '#' + url_quote(anchor)
640 unmodified lines
modified:CHANGES+3 added
17 unmodified lines
18 and ``static_host``. This enables ``host_matching`` to be set properly by the19 time the constructor adds the static route, and enables the static route to20 be properly associated with the required host. (``#1559``)21- ``send_file`` supports Unicode in ``attachment_filename``. (`#2223`_)22- Pass ``_scheme`` argument from ``url_for`` to ``handle_build_error``.23 (`#2017`_)2425.. _#2017: https://github.com/pallets/flask/pull/201726.. _#2223: https://github.com/pallets/flask/pull/22232728Version 0.12.129--------------
609 unmodified lines