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
Sanitize X-Forwarded-Proto header in RedirectScheme middleware #9598
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There is a typo in the commit message title |
Is it intended that this would also cause a redirect for an invalid X-Forwarded-Proto header (like a combination of two of them, |
Yes, it's intended because by convention this header is mono-valued. |
d858115
to
6633b12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this PR do?
Sanitize X-Forwarded-Proto header in RedirectScheme middleware
Motivation
Fixes #9597
More
Added/updated documentationAdditional Notes
Co-authored-by: Julien Salleyron julien.salleyron@gmail.com