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

internal/envoy: check misdirected requests case insensitively #2764

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Aug 4, 2020

Host header (authority) checks should be case insensitive. Lowercase
both the target match and the candidate header when we check for
misdirected requests.

Signed-off-by: James Peach jpeach@vmware.com

Host header (authority) checks should be case insensitive. Lowercase
both the target match and the candidate header when we check for
misdirected requests.

Signed-off-by: James Peach <jpeach@vmware.com>
@jpeach
Copy link
Contributor Author

jpeach commented Aug 4, 2020

/cc @pickledrick

Copy link
Member

@youngnick youngnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jpeach jpeach merged commit c21eeb9 into projectcontour:master Aug 4, 2020
@jpeach jpeach deleted the lower-misdirection-check branch August 4, 2020 21:51
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 this pull request may close these issues.

2 participants