Project

General

Profile

Actions

Bug #542

closed

Leading zeroes not ignored in HTTP version

Added by Anonymous about 18 years ago. Updated over 17 years ago.

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

Actions #1

Updated by jan about 18 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in r1025

Actions

Also available in: Atom