Tobias Erle wrote:
> 
> Hi,
> 
> I'm using a 1.5.3 port for DOS and wget has a strange behavior to handle
> URLs with "&".

Note that vesion 1.5.3 is quite old. Version 1.6 was release December
31th last year. Look at the web-site (http://sunsite.dk/wget/) for more
information and yes there is a link to DOS binaries.

> 
> Every time when I use URLs like
> 
> 
>http://212.123.106.25/index.php3?partei_id=8&position=1900&sid=1b823ea0bf3c6f280f6ca7675b03caaa
> 
> wget answers:
> 
> |--16:43:50--  http://212.123.106.25:80/
> |index.php3?partei_id=8&position=1900&sid=1b823ea0bf3c6f280f6ca7675b03caaa
> |           => 
>`212.123.106.25/index.php3?partei_id=8&position=1900&sid=1b823ea0bf3c6f280f6ca7675b03caaa'
> |Connecting to 212.123.106.25:80... connected!
> |HTTP request sent, awaiting response... 302 Found
> |2 Date: Thu, 08 Mar 2001 15:47:29 GMT
> |3 Server: Apache/1.3.17 (Unix) PHP/4.0.4pl1
> |4 X-Powered-By: PHP/4.0.4pl1
> |5 Set-Cookie: PHPSESSID=5ebece8a8f9327ff64c3876466a6019c; path=/
> |6 Expires: Thu, 19 Nov 1981 08:52:00 GMT
> |7 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
> |8 Pragma: no-cache
> |9 Set-Cookie: Cookies_ok=1; expires=Sat, 07-Apr-01 15:47:31 GMT
> |10 Location: 
>index.php3?cookie_ok=1&sid=1b823ea0bf3c6f280f6ca7675b03caaa&position=1900

NON standard redirect location 8-(

> |11 Connection: close
> |12 Content-Type: text/html
> |13
> |Location: index.php3?cookie_ok=1&sid=1b823ea0bf3c6f280f6ca7675b03caaa&position=1900 
[following]
> |index.php3?cookie_ok=1&sid=1b823ea0bf3c6f280f6ca7675b03caaa&position=1900: 
>Unknown/unsupported protocol.
> |
> |FINISHED --16:43:53--
> |Downloaded: 0 bytes in 0 files
> 
> Why I can't download this? What does means "Unknown/unsupported protocol"?
> Does wget don't download URLs with "&"?

This has nothing to do with the '&' in the URL. This is a "problem" with
the web-site itself that isn't complying with the HTTP standard. Now
since this way of doing redirects is quite common (maybe because most
browser supports it) support for this was added in wget version 1.6

> 
> --
> Erwerbsregel 33: Es schadet nie, den Boß auszubooten

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn               [EMAIL PROTECTED]
HackLine                     +45 2031 7799

Reply via email to