-
-
Notifications
You must be signed in to change notification settings - Fork 17.3k
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
req.hostname: check first comma-delimited host #3495
Conversation
We (Deliveroo) ran into this issue recently. We're working around it for now, but it would be great to get merged/released. Anything we can do to help? |
This is planned to be merged in the next minor release. We are currently working though 3 different security reports since Jan 1 and that is where are bandwidth is at, as we're trying to get security issues addresses ASAP. I hope that makes sense. Depending on if a security update will require a new minor version, the next minor should be released mid Feb. |
Can someone link me to a spec which defines this as valid? I cannot see anything about multiple host values being allowed in these: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23 |
So this is for the header |
Sounds more than reasonable. Thank you 😄 |
Oh, I miss-read the code change, my bad. I am still unsure what we should support here. The
But in a configuration like this, they could as well have written:
And without a spec, I am not sure we should be custom tailoring our support without some documentation from very popular reverse proxies like nginx or HAproxy, before doing these kind of things, because we have to support them once we add them |
I think the original issue said it was happening on Openshift in some way. But yes, perhaps at least getting a link to product documentation could be useful. |
33c08b1
to
be2a5e4
Compare
I am working to clean up this pull request to land in 4.17. |
be2a5e4
to
80f73df
Compare
80f73df
to
b93ffd4
Compare
I just added a few more tests to the PR and merged. |
Fixes #3494