W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1996

CGI Resource

From: Anselm Baird-Smith <abaird@w3.org>
Date: Wed, 25 Sep 1996 11:00:35 +0500
Message-Id: <9609251500.AA05090@www18.w3.org>
To: wplatzer <wplatzer@iaik.tu-graz.ac.at>
Cc: Jigsaw Mailing List <www-jigsaw@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT