Arkadiusz Miskiewicz <[EMAIL PROTECTED]> writes:

> please try:
> wget --mirror http://www.ire.pw.edu.pl/zejim/rois/

Thanks for the report.  I believe this patch should fix the problem.

2001-06-14  Hrvoje Niksic  <[EMAIL PROTECTED]>

        * recur.c (recursive_retrieve): Also check undesirable_urls with
        canonicalized URL.

Index: src/recur.c
===================================================================
RCS file: /pack/anoncvs/wget/src/recur.c,v
retrieving revision 1.21
diff -u -r1.21 recur.c
--- src/recur.c 2001/05/27 19:35:09     1.21
+++ src/recur.c 2001/06/14 21:43:21
@@ -381,7 +381,13 @@
            }
          xfree (constr);
          constr = xstrdup (u->url);
-         string_set_add (undesirable_urls, constr);
+         /* After we have canonicalized the URL, check if we have it
+            on the black list. */
+         if (string_set_contains (undesirable_urls, constr))
+           inl = 1;
+         /* This line is bogus. */
+         /*string_set_add (undesirable_urls, constr);*/
+
          if (!inl && !((u->proto == URLFTP) && !this_url_ftp))
            if (!opt.spanhost && this_url && !same_host (this_url, constr))
              {

Reply via email to