WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@davidism
Copy link
Member

@davidism davidism commented Nov 7, 2024

When using IPv6, SERVER_NAME is sent as ::1. When the Host header isn't present, SERVER_NAME is used to construct request.host. Wrap it with [] so that it matches the format that the Host header would have.

fixes #2993

@davidism davidism added this to the 3.1.3 milestone Nov 7, 2024
@davidism davidism merged commit ba15683 into stable Nov 7, 2024
11 checks passed
@davidism davidism deleted the multi-bytes branch November 7, 2024 16:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants