HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: File not found behavior WAS: HTTrack replaces...
Author: Xavier Roche
Date: 11/29/2002 20:05
 
> Unfortunately I've to come up with another issue: 
> On my page /products/index.jsp is a JavaScript function 
> with the following statement 'var imageExtension 
> = '.jpg';'. HTTrack tries to download /products/.jpg

Problem fixed for the next release.

(patch below:)

--- htsparse.c.orig     Fri Nov 29 20:05:09 2002
+++ htsparse.c  Fri Nov 29 20:05:13 2002
@@ -894,6 +894,8 @@
                                 || strchr(tempo,'<')
                                 || strchr(tempo,'>'))
                                 invalid_url=1;
+                              else if (tempo[0] 
== '.')   // ".gif"
+                                invalid_url=1;

                               /* non invalide? */
                               if (!invalid_url) {
 
Reply Create subthread


All articles

Subject Author Date
Re: HTTrack replaces stylesheet.css with garbage file

11/26/2002 07:36
File not found behavior WAS: HTTrack replaces...

11/27/2002 17:28
Re: File not found behavior WAS: HTTrack replaces...

11/29/2002 20:05




e

Created with FORUM 2.0.11