mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Merging to release 2.7.1
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
* Fixed DROP action was disabled for Apache 2 module by mistake.
|
* Fixed DROP action was disabled for Apache 2 module by mistake.
|
||||||
|
|
||||||
|
* Fixed bug when use ctl:ruleRemoveByTag.
|
||||||
|
|
||||||
* Updated Reference Manual.
|
* Updated Reference Manual.
|
||||||
|
|
||||||
15 Oct 2012 - 2.7.0
|
15 Oct 2012 - 2.7.0
|
||||||
|
@@ -1016,7 +1016,7 @@ static apr_status_t msre_action_ctl_execute(modsec_rec *msr, apr_pool_t *mptmp,
|
|||||||
return 1;
|
return 1;
|
||||||
} else
|
} else
|
||||||
if (strcasecmp(name, "ruleRemoveByTag") == 0) {
|
if (strcasecmp(name, "ruleRemoveByTag") == 0) {
|
||||||
rule_exception *re = apr_pcalloc(mptmp, sizeof(rule_exception));
|
rule_exception *re = apr_pcalloc(msr->mp, sizeof(rule_exception));
|
||||||
re->type = RULE_EXCEPTION_REMOVE_TAG;
|
re->type = RULE_EXCEPTION_REMOVE_TAG;
|
||||||
re->param = (const char *)apr_pstrdup(msr->mp, value);
|
re->param = (const char *)apr_pstrdup(msr->mp, value);
|
||||||
re->param_data = msc_pregcomp(msr->mp, re->param, 0, NULL, NULL);
|
re->param_data = msc_pregcomp(msr->mp, re->param, 0, NULL, NULL);
|
||||||
@@ -1034,7 +1034,7 @@ static apr_status_t msre_action_ctl_execute(modsec_rec *msr, apr_pool_t *mptmp,
|
|||||||
return 1;
|
return 1;
|
||||||
} else
|
} else
|
||||||
if (strcasecmp(name, "ruleRemoveByMsg") == 0) {
|
if (strcasecmp(name, "ruleRemoveByMsg") == 0) {
|
||||||
rule_exception *re = apr_pcalloc(mptmp, sizeof(rule_exception));
|
rule_exception *re = apr_pcalloc(msr->mp, sizeof(rule_exception));
|
||||||
re->type = RULE_EXCEPTION_REMOVE_MSG;
|
re->type = RULE_EXCEPTION_REMOVE_MSG;
|
||||||
re->param = (const char *)apr_pstrdup(msr->mp, value);
|
re->param = (const char *)apr_pstrdup(msr->mp, value);
|
||||||
re->param_data = msc_pregcomp(msr->mp, re->param, 0, NULL, NULL);
|
re->param_data = msc_pregcomp(msr->mp, re->param, 0, NULL, NULL);
|
||||||
|
Reference in New Issue
Block a user