httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <>
Subject mod_cgid doesn't pass null arguments on command line
Date Thu, 24 Jul 2008 12:01:49 GMT
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)

foo.cgi?foo++bar results in 3 positional parameters "foo", "", "bar".

foo.cgi?foo++bar results in 2 positional parameters "foo", "bar".

While it might be disruptive to flip it back, could it be offered as
an option?  AIUI 1.3.x behaves like the pre-r87905.

Eric Covener

View raw message