mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 17:41:52 +03:00
@@ -622,8 +622,11 @@ static int multipart_count_boundary_params(apr_pool_t *mp, const char *header_va
|
|||||||
|
|
||||||
s = duplicate;
|
s = duplicate;
|
||||||
while((s = strstr(s, "boundary")) != NULL) {
|
while((s = strstr(s, "boundary")) != NULL) {
|
||||||
count++;
|
|
||||||
s += 8;
|
s += 8;
|
||||||
|
|
||||||
|
if (strchr(s, "=") != NULL) {
|
||||||
|
count++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
|
|||||||
Reference in New Issue
Block a user