Fixed a bug in transformation caching, which would prevent a match in certian cases.

Updated docs on "pass" action to explicitly state that we execute all targets.
This commit is contained in:
brectanus
2008-03-07 20:23:16 +00:00
parent e0f503a133
commit 024e854725
4 changed files with 25 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ extern DSOLOCAL modsec_build_type_rec modsec_build_type[];
#define MODSEC_VERSION_MAJOR "2"
#define MODSEC_VERSION_MINOR "5"
#define MODSEC_VERSION_MAINT "0"
#define MODSEC_VERSION_TYPE "-breach"
#define MODSEC_VERSION_TYPE "-rc"
#define MODSEC_VERSION_RELEASE "1"
#define MODULE_NAME "ModSecurity for Apache"

View File

@@ -1988,6 +1988,8 @@ static apr_status_t msre_rule_process_normal(msre_rule *rule, modsec_rec *msr) {
return -1;
}
if (rc == RULE_MATCH) {
match_count++;
/* Return straight away if the transaction
* was intercepted - no need to process the remaining
* targets.