]> sjero.net Git - wget/blobdiff - src/recur.c
Fixes to restore Test-iri and Test-iri-forced-remote
[wget] / src / recur.c
index 83a9b4ee84d5b155196263841ea37214fd3d014c..e4ffa4246f3744db34f7576df826250ae2930674 100644 (file)
@@ -278,7 +278,7 @@ retrieve_tree (struct url *start_url_parsed, struct iri *pi)
         {
           int dt = 0, url_err;
           char *redirected = NULL;
-          struct url *url_parsed = url_parse (url, &url_err, i, false);
+          struct url *url_parsed = url_parse (url, &url_err, i, true);
 
           status = retrieve_url (url_parsed, url, &file, &redirected, referer,
                                  &dt, false, i);
@@ -373,7 +373,7 @@ retrieve_tree (struct url *start_url_parsed, struct iri *pi)
           if (children)
             {
               struct urlpos *child = children;
-              struct url *url_parsed = url_parse (url, NULL, i, false);
+              struct url *url_parsed = url_parse (url, NULL, i, true);
               struct iri *ci;
               char *referer_url = url;
               bool strip_auth = (url_parsed != NULL