> -----Ursprüngliche Nachricht-----
> Von: Jeff Trawick
> Gesendet: Donnerstag, 24. Juli 2008 15:36
> An: dev@httpd.apache.org
> Betreff: Re: mod_cgid doesn't pass null arguments on command line
> 
> On Thu, Jul 24, 2008 at 8:01 AM, Eric Covener 
> <[EMAIL PROTECTED]> wrote:
> 
> 
>       Background: When a query string doesn't have key/value 
> pairs, the
>       query string is tokenized on the '+' character and the 
> values are sent
>       as argv to the CGI script.
>       
>       
>       It looks like a change to discard null tokens snuck in 
> along with a
>       suexec patch, r87905 (look for strcmp)
> 
> 
> mod_cgi works fine though (tiny caveat: I tried this with cgi 
> vs. cgid on a 2061 tree I had handy).  The discrepancy 
> between arg handling in cgi/cgid is the major concern as far 
> as user impact.

I don't get why there is a difference between mod_cgi and mod_cgid
how they handle NULL arguments. Is there any specific reason why mod_cgid
skips them?
Whatever is the correct thing (skipping or not): Lets make mod_cgi / mod_cgid
behave in the same way.

Regards

Rüdiger

Reply via email to