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 3d50997

Browse filesBrowse files
lpincaBethGriggs
authored andcommitted
test: add semicolon after chunk size
The ABNF for chunk extensions as per RFC 7230 is chunk-ext = *( ";" chunk-ext-name [ "=" chunk-ext-val ] ) chunk-ext-name = token chunk-ext-val = token / quoted-string Add a semicolon after the chunk size for clarity. This does not invalidate the test as it verifies that the HTTP parser does not ignore chunk extensions. PR-URL: #40487 Refs: https://grenfeldt.dev/2021/10/08/gunicorn-20.1.0-public-disclosure-of-request-smuggling Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f114e35 commit 3d50997
Copy full SHA for 3d50997

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
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
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function start() {
2323
'Host: localhost:8080\r\n' +
2424
'Transfer-Encoding: chunked\r\n' +
2525
'\r\n' +
26-
'2 \n' +
26+
'2;\n' +
2727
'xx\r\n' +
2828
'4c\r\n' +
2929
'0\r\n' +

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.