mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-13 06:57:10 +03:00
Fix a transformation caching bug. See #490.
This commit is contained in:
7
CHANGES
7
CHANGES
@@ -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
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user