Uh oh!
There was an error while loading. Please reload this page.
req.hostname: check first comma-delimited host - #3495
Conversation
dsingleton
commented
Jan 26, 2018
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? |
dougwilson
commented
Jan 26, 2018
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. |
wesleytodd
commented
Jan 26, 2018
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 |
dougwilson
commented
Jan 26, 2018
So this is for the header |
dsingleton
commented
Jan 26, 2018
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 |
dougwilson
commented
Jan 26, 2018
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
be2a5e4CompareI am working to clean up this pull request to land in 4.17. |
be2a5e4 to
80f73dfCompare80f73df to
b93ffd4Comparedougwilson
commented
Oct 28, 2018
I just added a few more tests to the PR and merged. |
Fixes#3494