SecRuleRemoveById was unable to remove a phase 4 rule.

This commit is contained in:
ivanr 2007-02-22 10:44:01 +00:00
parent 08c231a6b3
commit f807697e3d
2 changed files with 4 additions and 14 deletions

16
CHANGES
View File

@ -1,14 +1,12 @@
05 Feb 2006 - 2.1.0-rc7 22 Feb 2006 - 2.1.0-rc7+
------------------------ ------------------------
* SecRuleRemoveById was unable to remove a rule placed in phase 4. Fixed.
* Fixed a problem with incorrectly setting requestBodyProcessor using * Fixed a problem with incorrectly setting requestBodyProcessor using
the ctl action. the ctl action.
24 Jan 2007 - 2.1.0-rc6
-----------------------
* Bundled Core Rules 2.1-1.3.2b4. * Bundled Core Rules 2.1-1.3.2b4.
* Updates to the reference manual. * Updates to the reference manual.
@ -18,16 +16,8 @@
* Added a few helpful debug messages in the XML validation area. * Added a few helpful debug messages in the XML validation area.
05 Jan 2007 - 2.1.0-rc5
-----------------------
* Updates to the reference manual. * Updates to the reference manual.
29 Dec 2006 - 2.1.0-rc4
-----------------------
* Fixed the validateByteRange operator. * Fixed the validateByteRange operator.
* Default value for the status action is now 403 (as it was supposed to * Default value for the status action is now 403 (as it was supposed to

View File

@ -920,7 +920,7 @@ int msre_ruleset_rule_remove_with_exception(msre_ruleset *ruleset, rule_exceptio
count += msre_ruleset_phase_rule_remove_with_exception(ruleset, re, ruleset->phase_request_headers); count += msre_ruleset_phase_rule_remove_with_exception(ruleset, re, ruleset->phase_request_headers);
count += msre_ruleset_phase_rule_remove_with_exception(ruleset, re, ruleset->phase_request_body); count += msre_ruleset_phase_rule_remove_with_exception(ruleset, re, ruleset->phase_request_body);
count += msre_ruleset_phase_rule_remove_with_exception(ruleset, re, ruleset->phase_response_headers); count += msre_ruleset_phase_rule_remove_with_exception(ruleset, re, ruleset->phase_response_headers);
count += msre_ruleset_phase_rule_remove_with_exception(ruleset, re, ruleset->phase_request_body); count += msre_ruleset_phase_rule_remove_with_exception(ruleset, re, ruleset->phase_response_body);
return count; return count;
} }