Permalink
Show file tree
Hide file tree
8 changes: 8 additions & 0 deletions
8
codec-http/src/main/java/io/netty/handler/codec/http/DefaultHttpHeaders.java
8 changes: 4 additions & 4 deletions
8
codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectDecoder.java
87 changes: 81 additions & 6 deletions
87
codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestDecoderTest.java
78 changes: 78 additions & 0 deletions
78
codec-http/src/test/java/io/netty/handler/codec/http/HttpResponseDecoderTest.java
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request from GHSA-wx5j-54mm-rqqq
Motivation: We should validate that only OWS is allowed before / after a header name and otherwise throw. At the moment we just "strip" everything except OWS. Modifications: - Adjust code to correctly validate - Add unit tests Result: More strict and correct behaviour
- Loading branch information
1 parent
d80a34e
commit 07aa6b5
Showing
4 changed files
with
171 additions
and
10 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