You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/01/09 19:37:42 UTC

[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@httpd.apache.org
          Reporter: hwibell@gmail.com
  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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 61980] Improve mod_cgi message for CGI stderr output

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61980

--- Comment #1 from Hank Ibell <hw...@gmail.com> ---
Created attachment 35662
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35662&action=edit
Proposed patch for trunk

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


[Bug 61980] Improve mod_cgi message for CGI stderr output

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61980

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #2 from Eric Covener <co...@gmail.com> ---
thanks, committed in r1820716.

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