more improvements to script end tag detection

git-svn: trunk@3684
remotes/push_mirror/metadata
Török Edvin 17 years ago
parent 50084a5925
commit eb0757aaa8
  1. 4
      ChangeLog
  2. 2
      libclamav/htmlnorm.c

@ -1,3 +1,7 @@
Wed Feb 27 19:53:18 EET 2008 (edwin)
-----------------------------------
* libclamav/htmlnorm.c: more improvements to script end tag detection
Wed Feb 27 16:42:27 CET 2008 (tk)
---------------------------------
* libclamav/cab.c: fix handling of stored files

@ -726,7 +726,7 @@ static int cli_html_normalise(int fd, m_area_t *m_area, const char *dirname, tag
state = HTML_SKIP_WS;
tag_arg_length = 0;
/* if we'd go to HTML_TAG_ARG whitespace would be inconsistently normalized for in_script*/
next_state = !in_script ? HTML_TAG_ARG : HTML_NORM;
next_state = !in_script ? HTML_TAG_ARG : HTML_PROCESS_TAG;
}
break;
case HTML_TAG_ARG:

Loading…
Cancel
Save