You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Luis Mar�a C�mara Rossi <Be...@HotMail.com> on 2001/10/21 06:09:49 UTC
mod_cgi/8589: White spaces in responses using *.cgi instead *.exe
>Number: 8589
>Category: mod_cgi
>Synopsis: White spaces in responses using *.cgi instead *.exe
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: mistaken
>Submitter-Id: apache
>Arrival-Date: Sat Oct 20 21:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: BeatusEgo@HotMail.com
>Release: 1.3.20
>Organization:
apache
>Environment:
I use the Apache 1.3.20 for Win32 precompiled. I have a Win95 OSr2.
>Description:
CGIs as *.cgi instead *.exe add one white space in empty lines of HTTP response (including headers).
>How-To-Repeat:
I add the
AddHandler cgi-script .exe
to use *.exe also with *.cgi exeacutable modules.
But when I execute the SAME *.exe renamed to *.cgi, then a white space character (0x20) is appended to ALL empty lines of the response (headers and body response). So the result is not HTTP valid response.
>Fix:
Review mod_cgi.
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]