Project

General

Profile

Actions

Bug #13

closed

POST requests and trailing newlines

Added by Anonymous over 19 years ago. Updated over 17 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

http://article.gmane.org/gmane.comp.web.lighttpd/1099


A little bug in lighttpd 1.3.10 in handling POST requests when
keep-alive is used, here are some simple test cases:

echo -e "POST / HTTP/1.1\r\nHost: x\r\nContent-length: 1\r\n\r\nxPOST / HTTP/1.1\r\nHost:
x\r\nContent-length: 1\r\n\r\nx" | nc localhost 80

This gives two responses (as it should), however

echo -e "POST / HTTP/1.1\r\nHost: x\r\nContent-length: 1\r\n\r\nx\r\nPOST / HTTP/1.1\r\nHost:
x\r\nContent-length: 1\r\n\r\nx" | nc localhost 80

(With an extra newline before the second POST) gives a response
followed by a 400.

-- David Leadbeater <dgl <at> dgl.cx>

Actions #1

Updated by Anonymous over 19 years ago

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

fixed in r15

-- jan

Actions

Also available in: Atom