Parsed Empty Val β Cookie Handling
| Test ID | COOK-PARSED-EMPTY-VAL |
| Category | Cookies |
| Scored | No |
| RFC Level | N/A |
| Expected | 2xx (no crash) |
What it sends
Cookie with empty value parsed without crash.
GET /cookie HTTP/1.1\r\n
Host: localhost:8080\r\n
Cookie: foo=\r\n
\r\n
Why it matters
Cookies with empty values (foo=) are valid per RFC 6265 but can crash parsers that assume a non-empty value after the = sign.
Verdicts
- Pass β 2xx or 400
- Warn β 404 (endpoint not available)
- Fail β 500 (crash)
Sources
- RFC 6265 Β§5.4 β Cookie header
Http11Probe β HTTP/1.1 compliance & smuggling testerSource on GitHub