mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 07:56:12 +03:00
parent
793b576701
commit
d5f3b9ce52
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user