mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-10 02:04:36 +03:00
Fix blocking multipart FP, which affected Safari.
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,8 +1,11 @@
|
||||
|
||||
15 Oct 2007 - 2.1.4-rc1
|
||||
-----------------------
|
||||
|
||||
* Do not process subrequests in phase 2-4.
|
||||
|
||||
* Fix a blocking FP in the multipart parser, which affected Safari.
|
||||
|
||||
|
||||
11 Sep 2007 - 2.1.3
|
||||
-------------------
|
||||
|
||||
@@ -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