mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Removed the (harmless) message mentioning LAST_UPDATE_TIME missing.
This commit is contained in:
parent
8eb0aa7e4a
commit
6c5d19ed84
2
CHANGES
2
CHANGES
@ -2,6 +2,8 @@
|
|||||||
22 Feb 2006 - 2.1.0-rc7+
|
22 Feb 2006 - 2.1.0-rc7+
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
|
* Removed the (harmless) message mentioning LAST_UPDATE_TIME missing.
|
||||||
|
|
||||||
* It was not possible to remove a rule placed in phase 4 using
|
* It was not possible to remove a rule placed in phase 4 using
|
||||||
SecRuleRemoveById or SecRuleRemoveByMsg. Fixed.
|
SecRuleRemoveById or SecRuleRemoveByMsg. Fixed.
|
||||||
|
|
||||||
|
@ -1100,7 +1100,9 @@ static apr_status_t msre_action_deprecatevar_execute(modsec_rec *msr, apr_pool_t
|
|||||||
/* Find the last update time (of the collection). */
|
/* Find the last update time (of the collection). */
|
||||||
var_last_update_time = (msc_string *)apr_table_get(target_col, "LAST_UPDATE_TIME");
|
var_last_update_time = (msc_string *)apr_table_get(target_col, "LAST_UPDATE_TIME");
|
||||||
if (var_last_update_time == NULL) {
|
if (var_last_update_time == NULL) {
|
||||||
msr_log(msr, 1, "Internal Error: Collection missing LAST_UPDATE_TIME.");
|
/* This is all right. If collection was created (and not restored from
|
||||||
|
* storage) then it won't have LAST_UPDATE_TIME - it was never updated.
|
||||||
|
*/
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user