Change ctl parameters to be case insensitive.

Initial implementation of ctl:removeRuleById.  See #259.
This commit is contained in:
brectanus
2007-10-16 00:14:42 +00:00
parent f66e8c5b38
commit 9efa02f423
4 changed files with 51 additions and 18 deletions

View File

@@ -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;
}