Skip to content

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

Merged
mattklein123 merged 1 commit into
masterfrom
revert-3587-xff
Jun 12, 2018
Merged

Revert "http: removing whitespace from appended XFF headers"#3609
mattklein123 merged 1 commit into
masterfrom
revert-3587-xff

Conversation

@danielhochman
Copy link
Copy Markdown
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
Copy Markdown
Member

cc @alyssawilk

@rgs1
Copy link
Copy Markdown
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
Copy Markdown
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