| > 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
| |