Skip Menu |

This queue is for tickets about the CGI-Application-Dispatch CPAN distribution.

Report information
The Basics
Id: 30134
Status: resolved
Priority: 0/
Queue: CGI-Application-Dispatch

People
Owner: Nobody in particular
Requestors: rjbs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.10
Fixed in: (no value)



Subject: Status-Line of HTTP response busted under non-mod-perl
http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html The proper format for the first line of an HTTP response is: HTTP-Version SP Status-Code SP Reason-Phrase CRLF In other words, for example: HTTP/1.1 200 OK The code is the else branch of the IS_MODPERL condition in http_error erroneously inserts a "Status: " between the HTTP-Version and Status-Code, seriously breaking this module. Responses cannot be properly parsed because of this. The fix is trivial: s/Status: // globally only changes one line: the bad one. -- rjbs
Thanks for the report. This has been fixed in the upcoming 2.11 release.