mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Change scope of state var so multiMatch works once again.
This commit is contained in:
parent
68f79e7f0d
commit
d3293916ed
@ -2049,6 +2049,7 @@ static apr_status_t msre_rule_process_normal(msre_rule *rule, modsec_rec *msr) {
|
||||
apr_table_t *normtab;
|
||||
const char *lastvarval = NULL;
|
||||
apr_size_t lastvarlen = 0;
|
||||
int tfnchanged = 0;
|
||||
|
||||
changed = 0;
|
||||
normtab = apr_table_make(mptmp, 10);
|
||||
@ -2191,7 +2192,6 @@ static apr_status_t msre_rule_process_normal(msre_rule *rule, modsec_rec *msr) {
|
||||
for (; k < tarr->nelts; k++) {
|
||||
char *rval = NULL;
|
||||
long int rval_length = -1;
|
||||
int tfnchanged = 0;
|
||||
|
||||
/* In multi-match mode we execute the operator
|
||||
* once at the beginning and then once every
|
||||
|
Loading…
x
Reference in New Issue
Block a user