Commit 53f4fbf
Reject invalid HTTP method token characters
Validate parsed HTTP methods against the RFC token character set before accepting the request line. This rejects methods containing invalid token characters with a 400 Bad Request response and covers the behavior with a focused regression test.1 parent ede37bd commit 53f4fbf
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments