mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Now --no-parent doesn't fetch wrong files if HTTP and HTTPS are used together.
This commit is contained in:
parent
1f883393c8
commit
28db25933b
3
NEWS
3
NEWS
@ -59,6 +59,9 @@ Please send GNU Wget bug reports to <bug-wget@gnu.org>.
|
||||
in .htm.
|
||||
|
||||
** Support HTTP/1.1 307 redirects keep request method.
|
||||
|
||||
** Now --no-parent doesn't fetch undesired files if HTTP and HTTPS are used
|
||||
by the same host on different pages.
|
||||
|
||||
* Changes in Wget 1.12
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2011-03-31 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* recur.c (download_child_p): When --no-parent is used, check that the
|
||||
ports are the same only in case the same protocol is used.
|
||||
Reported by: Karl Berry <karl@freefriends.org>
|
||||
|
||||
* res.c (res_parse): Add new line to debug messages.
|
||||
|
||||
2011-03-21 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
@ -563,7 +563,8 @@ download_child_p (const struct urlpos *upos, struct url *parent, int depth,
|
||||
if (opt.no_parent
|
||||
&& schemes_are_similar_p (u->scheme, start_url_parsed->scheme)
|
||||
&& 0 == strcasecmp (u->host, start_url_parsed->host)
|
||||
&& u->port == start_url_parsed->port
|
||||
&& (u->scheme != start_url_parsed->scheme
|
||||
|| u->port == start_url_parsed->port)
|
||||
&& !(opt.page_requisites && upos->link_inline_p))
|
||||
{
|
||||
if (!subdir_p (start_url_parsed->dir, u->dir))
|
||||
|
Loading…
Reference in New Issue
Block a user