Actions
Bug #542
closedLeading zeroes not ignored in HTTP version
Status:
Fixed
Priority:
Low
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
Description
HTTP requires that servers ignore leading zeroes in an HTTP request; see
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.1
"Leading zeros MUST be ignored by recipients and MUST NOT be sent."
A request like "GET / HTTP/01.01" will fail with a 400 Bad Request error.
printf "GET / HTTP/01.01\r\nHost: lighttpd.net\r\n\r\n" | nc lighttpd.net 80
-- evan
Updated by jan over 17 years ago
- Status changed from New to Fixed
- Resolution set to fixed
fixed in r1025
Actions
Also available in: Atom