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:
3
CHANGES
3
CHANGES
@@ -1,8 +1,11 @@
|
|||||||
|
|
||||||
15 Oct 2007 - 2.1.4-rc1
|
15 Oct 2007 - 2.1.4-rc1
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
* Do not process subrequests in phase 2-4.
|
* 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
|
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;
|
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