Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for HTTP request smuggling in headers (#1126)
Motivation: HTTP uses a non-binary framing layer that is subject to request smuggling. Our decoding relies upon the terminal newline characters to frame requests and we should have tests to exercise behavior in cases where a request is injected into a header value. Modifications: - Add HttpObjectDecoder tests which attempt to smuggle requests/responses in headers Result: More tests verifying smuggling behavior.
- Loading branch information
1 parent
22dd975
commit f795959
Showing
4 changed files
with
154 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters