tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Zeros sent to CGI shell scripts
@ 1997-03-06 19:55 Mike Grau
  0 siblings, 0 replies; only message in thread
From: Mike Grau @ 1997-03-06 19:55 UTC (permalink / raw)
  To: tru64-unix-managers

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
=====================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-03-06 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-06 19:55 Zeros sent to CGI shell scripts Mike Grau

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