Fix a transformation caching bug. See #490.

This commit is contained in:
brectanus
2008-05-05 21:57:28 +00:00
parent 6b3d337614
commit 0c28f30876
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
24 Apr 2008 - 2.5.4
-------------------
* Fixed issue where transformation cache was using the SecDefaultAction
value even when t:none was used within a rule.
24 Apr 2008 - 2.5.3 24 Apr 2008 - 2.5.3
------------------- -------------------

View File

@@ -1939,7 +1939,9 @@ static apr_status_t msre_rule_process_normal(msre_rule *rule, modsec_rec *msr) {
if (strcmp(action->param, "none") == 0) { if (strcmp(action->param, "none") == 0) {
apr_table_clear(normtab); apr_table_clear(normtab);
tfnspath = NULL; tfnspath = NULL;
tfnskey = NULL;
tfnscount = 0; tfnscount = 0;
last_crec = NULL;
last_cached_tfn = 0; last_cached_tfn = 0;
continue; continue;
} }