mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Change ctl parameters to be case insensitive.
Initial implementation of ctl:removeRuleById. See #259.
This commit is contained in:
@@ -309,6 +309,9 @@ apr_status_t modsecurity_tx_init(modsec_rec *msr) {
|
||||
|
||||
msr->highest_severity = 255; /* high, invalid value */
|
||||
|
||||
msr->removed_rules = apr_array_make(msr->mp, 16, sizeof(char *));
|
||||
if (msr->removed_rules == NULL) return -1;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user