Handle errors during create_url_adapter
Before adoption: this commit came in with the history the project adopted, so no landing records it.
If create_url_adapter raises (which it can if werkzeug cannot bind environment, for example on non-ASCII Host header), we handle it as other routing exceptions rather than raising through. ref https://github.com/pallets/werkzeug/issues/640
authored by Jarek Piórkowski · committed by Jarek Piórkowski · parent 3394191 · Browse files · 2 files+30 added−2 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+30 added−2 removed
- tests:+23 added−0 removed
- other:+7 added−2 removed