Bug 10291

Summary: [httpd][regression] Invalid HTTP status line for CGI scripts
Product: Busybox Reporter: Ronald Wahl <ronald.wahl>
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.17.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Ronald Wahl 2017-09-01 12:19:17 UTC
Commit 7f3a2a22 causes a regression in httpd so that it writes a non-conforming HTTP status line for CGI scripts. This is because previously the "Status: " prefix (including the following space) has been stripped but now only "Status:" is stripped and so writing an extra space into the HTTP status line. This is invalid according to the HTTP specification. At least the HTTP parser on Android does not like that!
Comment 1 Denys Vlasenko 2017-09-01 15:07:36 UTC
Fixed in git, thanks.