tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Mike Grau <m.grau () kcc ! state ! ks ! us>
To: tru64-unix-managers
Subject: Zeros sent to CGI shell scripts
Date: Thu, 06 Mar 1997 19:55:10 +0000	[thread overview]
Message-ID: <96078609810188.tru64-unix-managers.marc@archive.invalid> (raw)

Greetings: Anyone running NCSA httpd?
I'm running NSCA httpd on DU3.2c. Whenever a zero is sent in a query to
a cgi script, the variable $* (or $whatever) fails to get the zero and
everything after the zero. The command (like cal) fails with a bad
argument. For example, the test-cgi script (#!/bin/sh) run with
"test-cgi?3+1998" returns:

"argc is 2. argv is 3 1998"  -followed by the variables SERVER_SOFTWARE,
QUERY_STRING, etc.

while test-cgi?3+2001 returns:

"argc is 2. argv is 3 2"  -followed by nothing or just part of the
return page.
The QUERY_STRING looks good in every case.
I've tried Netscape, Explorer, and Mosaic; and run browsers on MAC, PC,
and UNIX. The results are the same in every case. I've used both NCSA
1.5.1 and 1.5.2 with no difference. IDEAS?? What tree should I be
barking under -- DU or HTTPD. The cgi's work fine as long as I don't try
to send 'em a zero. TIA. Any suggestions welcome! 
-- 
=====================================================================
Michael Grau                   |    Kansas Corporation Commission
                               |        1500 SW Arrowhead RD
m.grau@kcc.state.ks.us         |      Topeka, KS 66604-4027 USA
http://www.kcc.state.ks.us     |         tel: 913.271.3236
=====================================================================

                 reply	other threads:[~1997-03-06 19:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox