Custom CGIs

Opher Shachar ophers at ladpc.co.il
Sun Dec 24 09:31:35 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).

I will...

> 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

Thanks and Happy Christmas,
Opher Shachar.




More information about the cups mailing list