You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@worldgate.com> on 1997/11/25 00:50:15 UTC

Apache 1.3b3 Bug? (fwd)

Anyone?

---------- Forwarded message ----------
>Path: scanner.worldgate.com!logbridge.uoregon.edu!newsfeed.internetmci.com!206.229.87.25!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!192.101.204.10!news.databeam.com!not-for-mail
>From: Rich Bowen <rb...@databeam.com>
>Newsgroups: comp.infosystems.www.servers.ms-windows
>Subject: Apache 1.3b3 Bug?
>Date: Mon, 24 Nov 1997 14:37:43 -0500
>Organization: DataBeam Corporation
>Lines: 22
>Message-ID: <34...@databeam.com>
>Reply-To: rbowen@databeam.com
>NNTP-Posting-Host: rbowen.is.lex.databeam.com
>Mime-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>X-Mailer: Mozilla 3.01 (Win95; I)
>Xref: scanner.worldgate.com comp.infosystems.www.servers.ms-windows:21952     

I am experiencing the bug described at
http://bugs.apache.org/index/full/1030 - that is, QUERY_STRING without a
"=" in it causes Apache to barf on the CGI program and give a "Premature
end of script headers" error message.

For example, http://localhost/cgi-bin/envlist.pl works, and
http://localhost/cgi-bin/envlist.pl?foo=bar works, but 
http://localhost/cgi-bin/envlist.pl?foo causes a 500 Server Error. 

The note at the above URL indicates that the bug is patched in 1.3b3.
Actually, it says that it occurs in 1.3b2 and will be patched in the
next version.  Anyone know the status of this?  I don't have a Windows
compiler handy, and so am unable to make the recommended fix at this
time.  Bummer.

Rich
-- 
##################################################
#  Rich Bowen                                    #
#  Web Services Engineer - DataBeam Corporation  #
#  rbowen@databeam.com                           #
##################################################


Re: Apache 1.3b3 Bug? (fwd)

Posted by Ben Laurie <be...@algroup.co.uk>.
Paul Sutton wrote:
> 
> On Mon, 24 Nov 1997, Marc Slemko wrote:
> > Anyone?
> 
> > I am experiencing the bug described at
> > http://bugs.apache.org/index/full/1030 - that is, QUERY_STRING without a
> > "=" in it causes Apache to barf on the CGI program and give a "Premature
> > end of script headers" error message.
> >
> > For example, http://localhost/cgi-bin/envlist.pl works, and
> > http://localhost/cgi-bin/envlist.pl?foo=bar works, but
> > http://localhost/cgi-bin/envlist.pl?foo causes a 500 Server Error.
> 
> Yep, he's right. This bug still exists in the windows installed file. How
> can this be? It is fixed in the current sources, and there are _no_
> changes to the relevent source code between 1.3b3 and today. Um, is the
> binary built with an old set of source?

Could it be that it no longer asserts, but dies for some other reason?
Is anything logged?

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Re: Apache 1.3b3 Bug? (fwd)

Posted by Paul Sutton <pa...@eu.c2.net>.
On Mon, 24 Nov 1997, Marc Slemko wrote:
> Anyone?

> I am experiencing the bug described at
> http://bugs.apache.org/index/full/1030 - that is, QUERY_STRING without a
> "=" in it causes Apache to barf on the CGI program and give a "Premature
> end of script headers" error message.
> 
> For example, http://localhost/cgi-bin/envlist.pl works, and
> http://localhost/cgi-bin/envlist.pl?foo=bar works, but 
> http://localhost/cgi-bin/envlist.pl?foo causes a 500 Server Error. 

Yep, he's right. This bug still exists in the windows installed file. How
can this be? It is fixed in the current sources, and there are _no_
changes to the relevent source code between 1.3b3 and today. Um, is the
binary built with an old set of source? 

//pcs