Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e72c95c

Browse filesBrowse 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 <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 6619206 commit e72c95c
Copy full SHA for e72c95c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-http-chunked-smuggling.js
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.