-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Milestone
Description
If server_name is passed to Map.bind_from_environ, and a subdomain is not passed in (as usually it's not possible to know it), it will try to detect the subdomain by removing server_name as a suffix from host. This restricts routing to only the configured server_name, even if we don't have any subdomain-based routing rules.
Move Flask's subdomain_matching param into Map (where host_matching is already). bind_to_environ should not extract a subdomain unless it's enabled.
Metadata
Metadata
Assignees
Labels
No labels