You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Rober Pouliot <kr...@clic.net> on 1998/02/13 17:35:00 UTC

os-windows/1800: CGI in parsed HTML (SHTML) fails if they have an argument

>Number:         1800
>Category:       os-windows
>Synopsis:       CGI in parsed HTML (SHTML) fails if they have an argument
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Feb 13 08:40:00 PST 1998
>Last-Modified:
>Originator:     krynos@clic.net
>Organization:
apache
>Release:        1.3b3
>Environment:
Win95 OSR2, precompiled version
>Description:
If you have a parsed HTML file with exec-cgi and the CGI to run has
parameter, Apache will fails to run it (without parameter everything is fine),
apache 1.2.5 on linux (and Netscape Commerce server on solaris) work fine 
with the same file.
Here is the message in the logs:
[Fri Feb 13 11:28:49 1998] [error] invalid CGI ref "/cgi-bin/counter.pl?countname=forillon_fr" in d:/home/http/forillon_fr/index.htm
>How-To-Repeat:
<!--#exec cgi="/cgi-bin/counter.pl?countname=forillon_fr"-->
Or any CGI that requires a parameter. If no parameters, everything will work
fine.
>Fix:
Probably that Apache forgot to split at the "?" to separate arguments from 
program
>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 leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]