Package: boa
Version: 0.94.14rc21-amd64
Severity: normal
Tags: upstream

Hi,

I recently installed the winhelpcgi.cgi program on my server machine, which 
breaks under boa because it expects to see a QUERY_STRING variable in its 
environment, even if it is an empty string for the case that no query string 
is supplied.  This is unusual, but completely valid--it's explicitly 
required by the CGI spec * that the server MUST set QUERY_STRING, even if 
empty, and CGI programs can reliably use this to detect whether they are 
running under a web server.

At the moment, I have a little shell script that sets the QUERY_STRING 
variable to "" if none is present in the environment and then execs the real 
CGI binary, but a real fix in boa would be appreciated.  I could, of course, 
also patch a workaround into winhelpcgi.cgi directly.

Cheers,
Sabahattin

* At the moment, that seems to be the (informational) RFC 3875.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to