Re: Don't allow newlines in URLs to end up in FTP commands

2005-05-06 Thread Hrvoje Niksic
Hrvoje Niksic <[EMAIL PROTECTED]> writes: > A fix that applies to 1.9.1 follows in a separate mail. > Distributors of Wget will probably want to make sure to include the > appropriate patch. Here is that fix. 2005-05-07 Hrvoje Niksic <[EMAIL PROTECTED]> * ftp-basic.c (ftp_request): Pr

Don't allow newlines in URLs to end up in FTP commands

2005-05-06 Thread Hrvoje Niksic
A newline in an FTP URL can causes Wget to effectively send the URL-specified command to the server. Since URL may come from the network, this can be construed as a vulnerability. A separate fix that applies to 1.9.1 follows in a separate mail. Distributors of Wget will probably want to make sure

Re: Is this a bug in wget ? I need an urgent help!

2005-05-06 Thread Hrvoje Niksic
Hrvoje Niksic <[EMAIL PROTECTED]> writes: >> Can I have it not do the translation ??! > > Unfortunately, only by changing the source code as described in the > previous mail. BTW I've just changed the CVS code to not decode the % sequences. Wget 1.10 will contain the fix.

Re: Is this a bug in wget ? I need an urgent help!

2005-05-06 Thread Hrvoje Niksic
Will Kuhn <[EMAIL PROTECTED]> writes: > Yes. I am sure the translation is messing things up. I used telnet > to the port 80 of the web site. If I use hotmail%2ecom instead of > hotmail.com the file is downloaded. Otherwise, I got a > redirection. It took me a couple days to nail this down. I did a

Re: Is this a bug in wget ? I need an urgent help!

2005-05-06 Thread Hrvoje Niksic
Will Kuhn <[EMAIL PROTECTED]> writes: > I try to do something like > wget "http://website.com/ ... > login=username&domain=hotmail%2ecom&_lang=EN" > > But when wget sends the URL out, the "hotmail%2ecom" > becomes "hotmail.com" !!! Is this the supposed > behaviour ? Yes. > I saw this on the snif

Is this a bug in wget ? I need an urgent help!

2005-05-06 Thread Will Kuhn
I try to do something like wget "http://website.com/ ... login=username&domain=hotmail%2ecom&_lang=EN" But when wget sends the URL out, the "hotmail%2ecom" becomes "hotmail.com" !!! Is this the supposed behaviour ? I saw this on the sniffer. I suppose the translation of "%2" to "." is done by wget

Re: 1.10 alpha 3 build fails

2005-05-06 Thread Hrvoje Niksic
Alain Guibert <[EMAIL PROTECTED]> writes: > I can now confirm: Alpha3+configure.in patch builds cleanly on Debian Bo > even without --disable-ipv6: Excellent. Thanks for testing this.

Re: 1.10 alpha 3 build fails

2005-05-06 Thread Alain Guibert
On Saturday, April 30, 2005 at 8:31:14 PM +0200, Hrvoje Niksic wrote: > Alain Guibert <[EMAIL PROTECTED]> writes: >> On Friday, April 29, 2005 at 2:15:55 PM +0200, Hrvoje Niksic wrote: >>> The problem was that the check for sockaddr_in6 set ipv6 to "yes" if >>> successful, overriding other tests