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