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

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

merged 1 commit into from
Feb 28, 2018


Copy link


@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
@@ -496,7 +496,7 @@ HdrTest::test_mime()
"continuation: part1\r\n"
" part2\r\n"
"scooby: doo\r\n"
"scooby : doo\r\n"
Copy link

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?

@zwoop zwoop added this to 7.1.3 backport in 7.x releases Feb 28, 2018
@bryancall bryancall merged commit 08512de into apache:master Feb 28, 2018
Copy link

zwoop commented Feb 28, 2018

Cherry-picked to 7.1.x

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

Successfully merging this pull request may close these issues.

None yet

2 participants