mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Fixed problem with subrequests not being intercepted. See #124.
This commit is contained in:
parent
c594c205c3
commit
af6160b9c4
2
CHANGES
2
CHANGES
@ -2,6 +2,8 @@
|
|||||||
?? ??? 2007 - 2.2.0-trunk
|
?? ??? 2007 - 2.2.0-trunk
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
|
* Fixed problem with subrequests not being intercepted (only logged).
|
||||||
|
|
||||||
* Add Solaris to the list of platforms not supporting the hidden
|
* Add Solaris to the list of platforms not supporting the hidden
|
||||||
visibility attribute.
|
visibility attribute.
|
||||||
|
|
||||||
|
@ -562,6 +562,10 @@ static int hook_request_late(request_rec *r) {
|
|||||||
|
|
||||||
/* Has this phase been completed already? */
|
/* Has this phase been completed already? */
|
||||||
if (msr->phase_request_body_complete) {
|
if (msr->phase_request_body_complete) {
|
||||||
|
if (msr->was_intercepted) {
|
||||||
|
msr_log(msr, 4, "Phase REQUEST_BODY subrequest already intercepted with code %u.", msr->intercept_actionset->intercept_status);
|
||||||
|
return msr->intercept_actionset->intercept_status;
|
||||||
|
}
|
||||||
if (msr->txcfg->debuglog_level >= 4) {
|
if (msr->txcfg->debuglog_level >= 4) {
|
||||||
msr_log(msr, 4, "Phase REQUEST_BODY already complete, skipping.");
|
msr_log(msr, 4, "Phase REQUEST_BODY already complete, skipping.");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user