Using $ for CGI script arguments?

Hello,

I have written a Macintosh tool (called Big Brother) which checks the
validity of http links. Among other things, it needs to parse URLs,
and I have a question about the standard form of http URLs.

RFC 2068 (the HTTP/1.1 standard) says that at the end of the path, we
can expect to find parameters (coming after a semicolon) and a query
(coming after a question mark). So, I expect URLs like this:

  http://myserver.mydomain/pathsegment/scriptname;args?query

However, when looking at various existing servers, I see that arguments
to CGI scripts are passed after a $ character, like this:

  http://myserver.mydomain/pathsegment/scriptname$args?query

So, my question is, what's the consensus? What are the respective
roles of the semicolon and of the dollar signs? Can they be used
interchangeably, or do they have different meanings? Should my parser
look out for both of them, and if so, in what order? etc.

I've tried looking at the CGI script specification, but it isn't
really a specification, just a bunch of examples. It doesn't even seem
to mention the use of the $ sign.

Any help shall be much appreciated!

-- 
François Pottier
Francois.Pottier@inria.fr
http://pauillac.inria.fr/~fpottier/

Received on Tuesday, 18 February 1997 05:50:24 UTC