Re: [PATCHv2] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-19 Thread Peter Korsgaard
Denys == Denys Vlasenko vda.li...@googlemail.com writes: Hi, Denys Both look sensible to me. Pick whatever solution you like. I'll go for REQUEST_URI then, as it seems most standard and we already set it. Denys Please change networking/httpd_indexcgi.c correspondingly (and test it). Ok,

[PATCHv3] httpd: don't drop/abuse QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-19 Thread Peter Korsgaard
The memory pointed to by g_query gets overwritten when the index_page is used, causing URL arguments to get dropped when we fall back to /cgi-bin/index.cgi. QUERY_STRING if furthermore hijacked to pass the original (DIR/) URI to the CGI script, which is quite non-standard and disallows use of URL

Re: [PATCHv3] httpd: don't drop/abuse QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-19 Thread Denys Vlasenko
On Mon, Dec 19, 2011 at 10:56 AM, Peter Korsgaard jac...@sunsite.dk wrote: The memory pointed to by g_query gets overwritten when the index_page is used, causing URL arguments to get dropped when we fall back to /cgi-bin/index.cgi. QUERY_STRING if furthermore hijacked to pass the original

Re: [PATCHv3] httpd: don't drop/abuse QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-19 Thread Peter Korsgaard
Denys == Denys Vlasenko vda.li...@googlemail.com writes: Hi, The memory pointed to by g_query gets overwritten when the index_page is used, causing URL arguments to get dropped when we fall back to /cgi-bin/index.cgi. QUERY_STRING if furthermore hijacked to pass the original (DIR/) URI

makemime: various

2011-12-19 Thread Cristian Ionescu-Idbohrn
Would be nice to get commit 83e34ac4b574fabd54a2d1a03063b263338ef03d (fix -a option not taking parameter) into downloads/fixes-1.19.3. Another thing the wihlist is to get some better help on the command. Maybe something like: - -a HDR Add header. Examples: + -a HDR Add header

Re: makemime: various

2011-12-19 Thread Tito
On Monday 19 December 2011 19:34:07 Cristian Ionescu-Idbohrn wrote: Would be nice to get commit 83e34ac4b574fabd54a2d1a03063b263338ef03d (fix -a option not taking parameter) into downloads/fixes-1.19.3. Another thing the wihlist is to get some better help on the command. Maybe something

Re: bug in busybox with http redirects

2011-12-19 Thread Natanael Copa
On Sun, Dec 18, 2011 at 9:40 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Sunday 18 December 2011 16:19, Peter Korsgaard wrote: Denys == Denys Vlasenko vda.li...@googlemail.com writes: ...   so looks like wget does something strange with the host header on   the redirection.  Denys

Re: [PATCHv3] httpd: don't drop/abuse QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-19 Thread Denys Vlasenko
On Monday 19 December 2011 12:54, Peter Korsgaard wrote: Denys == Denys Vlasenko vda.li...@googlemail.com writes: Hi, The memory pointed to by g_query gets overwritten when the index_page is used, causing URL arguments to get dropped when we fall back to /cgi-bin/index.cgi.

Re: makemime: various

2011-12-19 Thread Denys Vlasenko
On Monday 19 December 2011 19:34, Cristian Ionescu-Idbohrn wrote: Would be nice to get commit 83e34ac4b574fabd54a2d1a03063b263338ef03d (fix -a option not taking parameter) into downloads/fixes-1.19.3. Another thing the wihlist is to get some better help on the command. Maybe something like:

Re: Search $PATH failure?

2011-12-19 Thread Denys Vlasenko
On Monday 05 December 2011 05:22, Bart Kus wrote: On 12/4/2011 5:55 PM, Denys Vlasenko wrote: On Friday 02 December 2011 05:45, Bart Kus wrote: jo tmp # PATH=/bin:/usr/bin /usr/bin/chroot ram bin/busybox ash / # echo $PATH /bin:/usr/bin / # uname ash: uname: not found / # I