Skip to content

Return 400 if there is whitespace after the field name and before the colon - #3192

Merged
bryancall merged 1 commit into
apache:masterfrom
bryancall:field_name_whitespace
Feb 28, 2018
Merged

bryancall merged 1 commit into
apache:masterfrom
bryancall:field_name_whitespace

Conversation

@bryancall

Copy link
Copy Markdown
Contributor

colon

@bryancall bryancall added the HTTP label Feb 27, 2018
@bryancall bryancall added this to the 8.0.0 milestone Feb 27, 2018
@bryancall bryancall self-assigned this Feb 27, 2018
@bryancall
bryancall force-pushed the field_name_whitespace branch from f2ccd84 to 2eb04a7 Compare February 28, 2018 00:44
@bryancall
bryancall requested a review from zwoop February 28, 2018 01:28
Comment thread proxy/hdrs/HdrTest.cc
"continuation: part1\r\n"
" part2\r\n"
"scooby: doo\r\n"
"scooby : doo\r\n"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think there's a way to have headers that should fail the parsing too, right? Maybe move the failure one there?

@bryancall
bryancall merged commit 08512de into apache:master Feb 28, 2018
@zwoop

zwoop commented Feb 28, 2018

Copy link
Copy Markdown
Contributor

Cherry-picked to 7.1.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants