HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Parsing problem (3.30-rc-1b)
Author: Xavier Roche
Date: 06/02/2003 19:23
 
> > Here is a problem with javascript parsing
> > using HTTrack3.30-RC-1b+swf
> Oh dear - this is a side effect introduced recently :(
> Will be fixed soon in RC2, sorry!

BTW - patch below:

--- htsparse.c.orig     Mon Jun  2 07:58:17 2003
+++ htsparse.c  Mon Jun  2 19:11:39 2003
@@ -1428,7 +1430,11 @@
                 if (ok > 0) {
                   //if (*eadr!=' ') {
                   if (is_space(*eadr)) {   // 
guillemets,CR, etc
-                    if (noquote || (*eadr==quote))     // 
si pas d'attente de quote sp├ęciale ou si quote atteinte
+                    if (
+                            *eadr == quote  // end quote
+                         || ( noquote && (*eadr == '\"' || 
*eadr == '\'') )       // end at any quote
+                         || (!noquote && quote == '\0' && 
is_realspace(*eadr) )   // unquoted href
+                       )     // si pas d'attente de quote 
sp├ęciale ou si quote atteinte
                       ok=0;
                   } else if (ending_p && (*eadr==ending_p))
                     ok=0;

 
Reply Create subthread


All articles

Subject Author Date
Re: Parsing problem (3.30-rc-1b)

06/02/2003 19:05
Re: Parsing problem (3.30-rc-1b)

06/02/2003 19:23




0

Created with FORUM 2.0.11