Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate request.trusted_hosts in Map.bind_to_environ #3008

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

davidism
Copy link
Member

If a Request is passed to Map.bind_to_environ, access request.host to get the server name, which triggers validating request.trusted_hosts.

Built on top of #3006
fixes #3007

@davidism davidism added this to the 3.2.0 milestone Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

check request.trusted_hosts in Map.bind_to_environ
1 participant