Bug 10291 - [httpd][regression] Invalid HTTP status line for CGI scripts
Summary: [httpd][regression] Invalid HTTP status line for CGI scripts
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.17.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-01 12:19 UTC by Ronald Wahl
Modified: 2017-09-01 15:07 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.