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

The "X-Forwarded-Host" header may contain multiple values #184

Open
sanderkranz opened this issue Aug 23, 2019 · 0 comments · May be fixed by #186
Open

The "X-Forwarded-Host" header may contain multiple values #184

sanderkranz opened this issue Aug 23, 2019 · 0 comments · May be fixed by #186

Comments

@sanderkranz
Copy link

The current implementation doesn't take into account the X-Forwarded-Host header may contain multiple values.
From the Apache mod_proxy docs:

Be careful when using these headers on the origin server, since they will contain more than one (comma-separated) value if the original request already contained one of these headers.

Probably in such case you should take the first value from the list.

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 a pull request may close this issue.

1 participant