From cd51a100469c394e8a6b1192ac918abafcb118e3 Mon Sep 17 00:00:00 2001 From: brectanus Date: Fri, 14 Dec 2007 22:34:16 +0000 Subject: [PATCH] Allow all rules to run in phase 5. See #425. --- apache2/re.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache2/re.c b/apache2/re.c index 6b97dff1..4f878429 100644 --- a/apache2/re.c +++ b/apache2/re.c @@ -828,7 +828,7 @@ apr_status_t msre_ruleset_process_phase(msre_ruleset *ruleset, modsec_rec *msr) } else if (rc == RULE_MATCH) { - if (msr->was_intercepted) { + if ((msr->phase == msr->intercept_phase) && msr->was_intercepted) { /* If the transaction was intercepted we will * go back. Do note that we are relying on the * rule to know if it is a part of a chain and