[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] --convert-links and 302 redirects
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] --convert-links and 302 redirects |
Date: |
Tue, 13 Oct 2009 12:02:47 -0700 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hrunting Johnson wrote:
> Using the latest version of wget, it appears that --convert-links doesn't work
> when the URL being fetched is a redirect to another URL. For example:
>
> Server: www.host.com:
>
> <base href="http://foo.host.com">
> <a href="/foo">Foo</a>
>
> If http://foo.host.com/foo redirects to http://bar.host.com/foo, then the data
> for http://bar.host.com/foo gets downloaded and followed properly, but the URL
> /foo gets rewritten improperly to http://foo.host.com/foo (should be
> ../bar.host.com/foo), which breaks the mirror. Other, non-redirected links
> get
> rewritten just fine.
>
> Can anyone else confirm this behavior?
>
> The command I'm running is:
>
> wget --timeout=30 -E -H -p --convert-links -r -p --domains=host.com -e
> robots=off -P host.com http://www.host.com/
>
> Thanks in advance.
Opened a report at https://savannah.gnu.org/bugs/?27694
Can you please determine whether this is a regression? Does Wget 1.11.4
have the same, or different behavior?
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrUztcACgkQ7M8hyUobTrE3FQCfXNN4mZ/+4MJjGOoak3fuaUNm
V0kAn0HTYKW8c2TEY84jBvGNH628T2FE
=fHMJ
-----END PGP SIGNATURE-----