[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Wget follows 301/302's to excluded domains

From: Giuseppe Scrivano
Subject: Re: [Bug-wget] Wget follows 301/302's to excluded domains
Date: Sat, 07 Sep 2013 12:51:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

"P. Jansen" <address@hidden> writes:

> Hi,
> Whenever my target domain responds with a redirect (301 or 302) to
> another domain (that is not in the -D directive), wget still downloads
> the contents of the new location URL. Wget does not follow links or
> page requisites from that new location. Even when explicitly setting
> --exclude-domains
> this behaviour occurs.
> Is this a bug, a feature or am I doing something wrong?

that is correct, the redirect is followed even if the location domain is
not specified with -D.
Both --domains and --exclude-domains are checked with links that are
generated by wget when recursively fetching a web page.
In other words, while the first URL is retrieved as effect to a HTTP
redirect, wget shouldn't follow any other link to the new domain, that
would be a bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]