Repository navigation
Commit 7e841ab
http1connection: Only allow HTTP whitespace in Content-Length lists
A Content-Length header with a list of identical values ("5, 5") is
accepted, but the split used \s, which also matches non-HTTP whitespace
such as \xa0 and \x85 (both valid obs-text in a header value). Only
allow spaces and tabs, as RFC 9110's OWS does.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VamvWqdwiBTCFwhDLCbBee1 parent 21e1ad0 commit 7e841ab
2 files changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
656 | | - | |
| 656 | + | |
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
603 | 622 | | |
604 | 623 | | |
605 | 624 | | |
| |||
0 commit comments