mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Fix for an evasion false positive.
This commit is contained in:
parent
83fb4b4da4
commit
cd2287a412
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user