Browse Source
set status 200 OK if CGI does not return CGI headers Note: This mode in lighttpd is deprecated and may be removed in the next major release of lighttpd. CGI scripts should return a proper CGI header in the response, even if that header is empty and followed by a blank line, before return response body. Without a proper CGI response header, the first line(s) of the response might be incorrectly construed as being CGI response headers, especially if they contain ':', and response may be corrupted. That is why this mode is deprecated (and not supported in numerous other web servers). The minimal valid CGI response header is "\n", which lighttpd will treat as equivalent to "Status: 200\n\n" x-ref: "error 500 (mod_cgi.c.601) cgi died" https://redmine.lighttpd.net/issues/2786personal/stbuehler/mod-csrf
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue