HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Cannot follow php3?xxx links
Author: Xavier Roche
Date: 09/25/2002 07:26
 
> Ouch, too hard !
> I needed to finish this download for tomorrow night.
> Em.... So wait'n'see...

The fix will be merged "soon" - you can pply it using the 
commandline version:

--- htstools.c.orig     Wed Sep 25 07:24:47 2002
+++ htstools.c  Wed Sep 25 07:22:59 2002
@@ -130,8 +130,9 @@
       if (*lien!='/') {  // sinon c'est un lien absolu
         a=strchr(origin_fil,'?');
         if (!a) a=origin_fil+strlen(origin_fil);
+        if (*lien != '?')  /* filename exists */
         while((*a!='/') && ( a > origin_fil) ) a--;
-        if (*a=='/') {    // ok on a un '/'
+        if (*a=='/' || *lien == '?') {    // ok on a un '/'
           if ( (((int) (a - origin_fil))+1+strlen(lien)) < 
HTS_URLMAXSIZE) {
             // copier chemin
             strncpy(fil,origin_fil,((int) (a - origin_fil))
+1);


 
Reply Create subthread


All articles

Subject Author Date
Cannot follow php3?xxx links

09/24/2002 22:37
Re: Cannot follow php3?xxx links

09/24/2002 22:56
Re: Cannot follow php3?xxx links

09/24/2002 23:02
Re: Cannot follow php3?xxx links

09/25/2002 07:26
Re: Cannot follow php3?xxx links

10/01/2002 23:37
Re: Cannot follow php3?xxx links

10/02/2002 21:20




1

Created with FORUM 2.0.11