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

2011-12-17 Thread walter harms
Am 17.12.2011 00:26, schrieb 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. Work around it by making g_query a deep copy of urlp when CGI support is enabled,

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

2011-12-17 Thread Peter Korsgaard
walter == walter harms wha...@bfs.de writes: Hi, +#if ENABLE_FEATURE_HTTPD_CGI + /* when index_page string is appended to dir/ URL, it overwrites + the query string. If we fallback to call /cgi-bin/index.cgi, + query string would be lost and not

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

2011-12-17 Thread Denys Vlasenko
On Saturday 17 December 2011 00:26, Peter Korsgaard 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. Work around it by making g_query a deep copy of urlp when CGI support is

Re: bug in busybox with http redirects

2011-12-17 Thread Denys Vlasenko
On Friday 16 December 2011 16:57, Natanael Copa wrote: Hi, I have a pretty annoying issue with busybox wget and http redirects: busybox wget http://git.alpinelinux.org/cgit/acf-tinydns.git/snapshot/acf-tinydns-0.7.0.tar.bz2 $ busybox wget -O /dev/null