Removed the (harmless) message mentioning LAST_UPDATE_TIME missing.
This commit is contained in:
Родитель
8eb0aa7e4a
Коммит
6c5d19ed84
2
CHANGES
2
CHANGES
|
@ -2,6 +2,8 @@
|
|||
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
|
||||
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). */
|
||||
var_last_update_time = (msc_string *)apr_table_get(target_col, "LAST_UPDATE_TIME");
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче