Re: CGI URLs in HREFs

RFC1945 and  RFC2068 (HTTP) say ...

relativeURI    = net_path | abs_path | rel_path
rel_path       = [ path ] [ ";" params ] [ "?" query ]
params         = param *( ";" param )
param          = *( pchar | "/" )

which would imply a valid URL like
  http://some.org:80/script/path;p1=42;p2:a=4&b=5?q1=6&q2=7

but I don't recollect seeing any URLs using this ....

If I try it in Apache 1.2.0,
PATH_INFO is /path;p1=42;p2:a=4&b=5 and
QUERY_STRING is q1=6&q2=7
so one could quite easily parse the "params" from PATH_INFO

Andrew Daviel

Received on Monday, 14 July 1997 23:23:32 UTC