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

Revert "http: removing whitespace from appended XFF headers" #3609

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

danielhochman
Copy link
Contributor

Reverts #3587

Utility::getLastAddressFromXFF() should handle XFF with and without whitespace on the un-revert.

Fixes #3607

This reverts commit 4882bb5.

Signed-off-by: Daniel Hochman <danielhochman@users.noreply.github.com>
@mattklein123
Copy link
Member

cc @alyssawilk

@rgs1
Copy link
Member

rgs1 commented Jun 12, 2018

@mattklein123 @alyssawilk hmm do we actually need to revert this? Isn't fixing Utility::getLastAddressFromXFF() enough? #3587 didn't actually break anything... no?

@rgs1
Copy link
Member

rgs1 commented Jun 12, 2018

nevermind, i forgot envoy to envoy

@mattklein123 mattklein123 merged commit 75ca181 into master Jun 12, 2018
@mattklein123 mattklein123 deleted the revert-3587-xff branch June 12, 2018 21:11
alyssawilk added a commit to alyssawilk/envoy that referenced this pull request Jul 10, 2018
…nvoyproxy#3587)" (envoyproxy#3609)"

This reverts commit 75ca181 with minor
docs edits.

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
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.

4 participants