mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-13 06:57:10 +03:00
Fix blocking multipart FP, which affected Safari.
This commit is contained in:
@@ -603,8 +603,11 @@ static int multipart_count_boundary_params(apr_pool_t *mp, const char *header_va
|
||||
|
||||
s = duplicate;
|
||||
while((s = strstr(s, "boundary")) != NULL) {
|
||||
count++;
|
||||
s += 8;
|
||||
|
||||
if (strchr(s, '=') != NULL) {
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
return count;
|
||||
|
||||
Reference in New Issue
Block a user