The parser accepts bad HTTP header fields #5

Closed
miyagawa opened this Issue Nov 6, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@miyagawa
Collaborator

miyagawa commented Nov 6, 2012

Give the parser a following request, and it will create a bad environment header:

GET / HTTP/1.0
::foo: bar

Maybe it should return -1 with a bad character in HTTP field names.

Test is at https://gist.github.com/4021280

@kazuho

This comment has been minimized.

Show comment
Hide comment
@kazuho

kazuho Nov 6, 2012

Owner

Thank you for reporting the issue.

Owner

kazuho commented Nov 6, 2012

Thank you for reporting the issue.

@kazuho kazuho closed this Nov 6, 2012

methane pushed a commit to methane/minefield that referenced this issue Dec 20, 2014

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