Allow all rules to run in phase 5. See #425.

This commit is contained in:
brectanus 2007-12-14 22:34:16 +00:00
parent 515290434c
commit cd51a10046

View File

@ -828,7 +828,7 @@ apr_status_t msre_ruleset_process_phase(msre_ruleset *ruleset, modsec_rec *msr)
} }
else else
if (rc == RULE_MATCH) { if (rc == RULE_MATCH) {
if (msr->was_intercepted) { if ((msr->phase == msr->intercept_phase) && msr->was_intercepted) {
/* If the transaction was intercepted we will /* If the transaction was intercepted we will
* go back. Do note that we are relying on the * go back. Do note that we are relying on the
* rule to know if it is a part of a chain and * rule to know if it is a part of a chain and