Fix for an evasion false positive.

This commit is contained in:
ivanr 2007-11-08 18:12:51 +00:00
parent 83fb4b4da4
commit cd2287a412

View File

@ -950,7 +950,7 @@ int multipart_process_chunk(modsec_rec *msr, const char *buf,
}
if ( (p != msr->mpd->buf + 2)
&& (strncmp(p, msr->mpd->boundary, strlen(msr->mpd->boundary)))
&& (strncmp(p, msr->mpd->boundary, strlen(msr->mpd->boundary)) == 0)
) {
/* Found whitespace in front of a boundary. */
msr->mpd->flag_error = 1;