[BusyBox 0000186]: HTTP responses contain LF instead of CRLF; CGI protocol violation

bugs at busybox.net bugs at busybox.net
Mon Feb 11 18:16:37 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=186 
====================================================================== 
Reported By:                mb
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   186
Category:                   Networking Support
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             03-23-2005 02:38 PST
Last Modified:              02-11-2008 10:16 PST
====================================================================== 
Summary:                    HTTP responses contain LF instead of CRLF; CGI
protocol violation
Description: 
There are a few places in BusyBox's httpd where it sends bare linefeed
characters instead of CR+LF in the HTTP headers.

Places I've noticed so far:
* After the HTTP/1.0 status response (both for static content and CGI)
* After the Content-Type header in case of CGI

Additionally, httpd doesn't properly support the CGI specification. If a
CGI sends a Status: header, httpd forwards this to the client unmodified,
instead of converting it to a proper status response.
====================================================================== 

---------------------------------------------------------------------- 
 vodz - 01-26-06 02:59  
---------------------------------------------------------------------- 
Ok. Please test with 13616 revision.
 

---------------------------------------------------------------------- 
 bernhardf - 04-12-06 12:08  
---------------------------------------------------------------------- 
httpd was changed, please confirm if this is fixed on trunk. 

---------------------------------------------------------------------- 
 vda - 02-11-08 10:16  
---------------------------------------------------------------------- 
Appears to be fixed; reporter is unresponsive. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-23-05 02:38  mb             New Issue                                    
01-26-06 02:59  vodz           Note Added: 0001009                          
01-26-06 02:59  vodz           Status                   assigned => confirmed
04-12-06 12:08  bernhardf      Note Added: 0001283                          
04-12-06 12:08  bernhardf      Status                   confirmed => feedback
02-11-08 10:16  vda            Status                   feedback => closed  
02-11-08 10:16  vda            Note Added: 0004054                          
======================================================================




More information about the busybox-cvs mailing list