osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 61980] New: Improve mod_cgi message for CGI stderr output


https://bz.apache.org/bugzilla/show_bug.cgi?id=61980

            Bug ID: 61980
           Summary: Improve mod_cgi message for CGI stderr output
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: minor
          Priority: P2
         Component: mod_cgi
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: hwibell@xxxxxxxxx
  Target Milestone: ---

The current message for CGI stderr output when using mod_cgi looks similar to
the following:
AH01215: "error-message" \r: C:/Apache/cgi-bin/my-cgi-program

If the stderr output from the CGI program is vague, the error message might be
confusing to users. (e.g. "Execution failed" C:/Apache/cgi-bin/my-cgi-program).

The proposed patch changes the error message to:
AH01215: stderr from C:/Apache/cgi-bin/my-cgi-program: "error-message"

The patch also fixes the Windows line-ending issue observed above.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx