mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Fix typo in NettyRequestSplitting.java
This commit is contained in:
committed by
GitHub
parent
f5d9fe6b08
commit
50056d603e
@@ -1,11 +1,11 @@
|
||||
public class NettyRequestSplitting {
|
||||
// BAD: Disables the internal response splitting verification
|
||||
// BAD: Disables the internal request splitting verification
|
||||
private final DefaultHttpHeaders badHeaders = new DefaultHttpHeaders(false);
|
||||
|
||||
// GOOD: Verifies headers passed don't contain CRLF characters
|
||||
private final DefaultHttpHeaders goodHeaders = new DefaultHttpHeaders();
|
||||
|
||||
// BAD: Disables the internal response splitting verification
|
||||
// BAD: Disables the internal request splitting verification
|
||||
private final DefaultHttpRequest badRequest = new DefaultHttpRequest(httpVersion, method, uri, false);
|
||||
|
||||
// GOOD: Verifies headers passed don't contain CRLF characters
|
||||
|
||||
Reference in New Issue
Block a user