HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Error: "" (500) after 2 retries at link...
Author: Xavier Roche
Date: 05/20/2009 19:12
 
> The proper link should start with a slash. Since it
> doesn't I think the actual url should be

Nope - the code also contains a "base" tag, which changes the URL
referential.

> index.htmcgi-bin is obviously garbage. I also tried
> 3.32 (available here:
> <http://forum.httrack.com/readmsg/17840/17833/index.h>
> tml) and was able to get forums and postings.

Yep, this is obviously a bug when the base URL contains a trailing filename
AND is on the top site directory AND a relative links refers to another
subdirectory from the current working one.

Thanks for the bugreport - I will release a -5 version "soon" :)


Diff:
------

--- /tmp/httrack-3.43.4/src/htsparse.c  2009-03-19 18:47:09.000000000 +0100
+++ /tmp/httrack-3.43.5/src/htsparse.c  2009-05-20 19:00:28.000000000 +0200
@@ -2137,3 +2137,3 @@
                           if (*a=='/') {     // ok on a repéré le dernier
/
-                            if (start_of_filename != NULL && a >=
start_of_filename) {
+                            if (start_of_filename != NULL && a + 1 >=
start_of_filename) {
                               *(a+1)='\0';   // couper
 
Reply Create subthread


All articles

Subject Author Date
Error: "" (500) after 2 retries at link...

05/14/2009 01:28
Re: Error: "" (500) after 2 retries at link...

05/14/2009 01:33
Re: Error: "" (500) after 2 retries at link...

05/14/2009 16:37
Re: Error: "" (500) after 2 retries at link...

05/14/2009 20:34
Re: Error: "" (500) after 2 retries at link...

05/15/2009 04:29
Re: Error: "" (500) after 2 retries at link...

05/20/2009 14:12
Re: Error: "" (500) after 2 retries at link...

05/20/2009 16:48
Re: Error: "" (500) after 2 retries at link...

05/20/2009 19:12




9

Created with FORUM 2.0.11