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