Ticket #542 (closed defect: fixed)

Opened 3 years ago

Last modified 23 months ago

Leading zeroes not ignored in HTTP version

Reported by: evan@… Owned by: jan
Priority: lowest Milestone:
Component: core Version: 1.4.10
Severity: trivial Keywords:
Cc: Blocked By:
Need User Feedback: Blocking:

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

Attachments

Change History

Changed 2 years ago by jan

  • status changed from new to closed
  • resolution set to fixed

fixed in [1025]

Add/Change #542 (Leading zeroes not ignored in HTTP version)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.