Custom CGIs
Michael Sweet
mike at easysw.com
Sun Dec 24 07:52:38 PST 2006
Opher Shachar wrote:
> Hello all,
> I've written a custom CGI that will accept a query string on it's url.
> When I browse to this URL:
> https://localhost:631/ojobs.cgi?op=modify-job&job_id=63&job_options=cpi=10+lpi=8
> I get no QUERY_STRING environment variable and the query string is split along the '+' char and passed to the positional parameters:
You should be getting a QUERY_STRING environment variable (please
file a bug report on that). As for the command-line, we duplicate
Apache's behavior such that the portion after the ? is also passed
in argv[], split on +'s.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Publishing Software http://www.easysw.com
More information about the cups
mailing list