Skip to content

Commit e72c95c

Browse files
lpincaBethGriggs
authored andcommitted
test: fix test description
The request uses chunked transfer encoding and the HTTP response status code is not 400 but 200. PR-URL: #40486 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 6619206 commit e72c95c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-http-chunked-smuggling.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const http = require('http');
55
const net = require('net');
66
const assert = require('assert');
77

8-
// Verify that a request with a space before the content length will result
9-
// in a 400 Bad Request.
8+
// Verify that invalid chunk extensions cannot be used to perform HTTP request
9+
// smuggling attacks.
1010

1111
const server = http.createServer(common.mustCall((request, response) => {
1212
assert.notStrictEqual(request.url, '/admin');

0 commit comments

Comments
 (0)