Do not enable subdomain matching by default

Updated tests for new subdomain matching
Added a test to validate matching behavior
This commit is contained in:
Armin Ronacher 2018-02-19 21:20:03 +01:00 committed by David Lord
parent 4a7db66474
commit 8cec2010c0
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
4 changed files with 52 additions and 7 deletions

View file

@ -139,6 +139,8 @@ unreleased
attribute on the session cookie. (`#2607`_)
- Added :meth:`~flask.Flask.test_cli_runner` to create a Click runner
that can invoke Flask CLI commands for testing. (`#2636`_)
- Subdomain matching is disabled by default now. It can be turned on by
passing ``subdomain_matching=True`` to the Flask constructor.
.. _pallets/meta#24: https://github.com/pallets/meta/issues/24
.. _#1421: https://github.com/pallets/flask/issues/1421