CGI Resource

wplatzer@iaik.tu-graz.ac.at writes:
 > 
 > I use a program via CgiResource from jigsaw and everything works fine.
 > 
 > If I click on the URL: http://host/TestCGI?-r+wplatzer@iaik.tu-graz.ac.at=
 >  jigsaw generates the following command array:
 > 
 > command[0] =3D "/path/program"
 > command[1] =3D "-r wplatzer@iaik.tu-graz.ac.at"
 > 
 > But this program wants the second line also split like:
 > 
 > command[0] =3D "/path/program"
 > command[1] =3D "-r"
 > command[2] =3D "wplatzer@iaik.tu-graz.ac.at"
 > 
 > Which implementation is wrong?

That's a good question. Normally the query string is supposed to be
passed to CGI programs as the first argument, which is what Jigsaw
does, so - although I am biased - I think Jigsaw is right.

If ever you have the ability to test the script under some other
server, let me know if it differs.

Anselm.

Received on Wednesday, 25 September 1996 11:00:54 UTC