Commit 3a7a3be
http: opt-in insecure HTTP header parsing
Allow insecure HTTP header parsing. Make clear it is insecure.
See:
- #30553
- #27711 (comment)
- #30515
PR-URL: #30567
Backport-PR-URL: #30473
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 25f2df4 commit 3a7a3beCopy full SHA for 3a7a3be
File tree
Expand file treeCollapse file tree
8 files changed
+46
-4
lines changedOpen diff view settings
Filter options
- doc
- api
- lib
- src
Expand file treeCollapse file tree
8 files changed
+46
-4
lines changedOpen diff view settings
Collapse file
+11Lines changed: 11 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
431 | 431 | |
432 | 432 | |
433 | 433 | |
| 434 | + |
| 435 | + |
| 436 | + |
| 437 | + |
| 438 | + |
| 439 | + |
| 440 | + |
| 441 | + |
| 442 | + |
| 443 | + |
434 | 444 | |
435 | 445 | |
436 | 446 | |
| ||
1099 | 1109 | |
1100 | 1110 | |
1101 | 1111 | |
| 1112 | + |
1102 | 1113 | |
1103 | 1114 | |
1104 | 1115 | |
|
Collapse file
+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
232 | 232 | |
233 | 233 | |
234 | 234 | |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
| 240 | + |
235 | 241 | |
236 | 242 | |
237 | 243 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
| 35 | + |
35 | 36 | |
36 | 37 | |
37 | 38 | |
| ||
655 | 656 | |
656 | 657 | |
657 | 658 | |
658 | | - |
| 659 | + |
| 660 | + |
659 | 661 | |
660 | 662 | |
661 | 663 | |
|
Collapse file
+12Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
| 32 | + |
32 | 33 | |
33 | 34 | |
34 | 35 | |
| ||
238 | 239 | |
239 | 240 | |
240 | 241 | |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
241 | 252 | |
242 | 253 | |
243 | 254 | |
| ||
250 | 261 | |
251 | 262 | |
252 | 263 | |
| 264 | + |
253 | 265 | |
254 | 266 | |
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
39 | 39 | |
40 | 40 | |
41 | 41 | |
| 42 | + |
42 | 43 | |
43 | 44 | |
44 | 45 | |
| ||
385 | 386 | |
386 | 387 | |
387 | 388 | |
388 | | - |
| 389 | + |
| 390 | + |
389 | 391 | |
390 | 392 | |
391 | 393 | |
|
Collapse file
src/node_http_parser_impl.h
Copy file name to clipboardExpand all lines: src/node_http_parser_impl.h+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
501 | 501 | |
502 | 502 | |
503 | 503 | |
| 504 | + |
504 | 505 | |
505 | 506 | |
506 | 507 | |
| ||
521 | 522 | |
522 | 523 | |
523 | 524 | |
524 | | - |
| 525 | + |
525 | 526 | |
526 | 527 | |
527 | 528 | |
| ||
805 | 806 | |
806 | 807 | |
807 | 808 | |
808 | | - |
| 809 | + |
809 | 810 | |
810 | 811 | |
| 812 | + |
811 | 813 | |
812 | 814 | |
813 | 815 | |
| 816 | + |
814 | 817 | |
815 | 818 | |
816 | 819 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
416 | 416 | |
417 | 417 | |
418 | 418 | |
| 419 | + |
| 420 | + |
| 421 | + |
| 422 | + |
419 | 423 | |
420 | 424 | |
421 | 425 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
159 | 159 | |
160 | 160 | |
161 | 161 | |
| 162 | + |
| 163 | + |
162 | 164 | |
163 | 165 | |
164 | 166 | |
|
0 commit comments