Fixed noauditlog. See #451.

This commit is contained in:
brectanus
2008-01-25 05:52:49 +00:00
parent 52ccced72b
commit 4c6dccada2
2 changed files with 11 additions and 4 deletions

View File

@@ -333,6 +333,10 @@ static int is_response_status_relevant(modsec_rec *msr, int status) {
apr_status_t rc;
char buf[32];
/* ENH: Setting is_relevant here will cause an audit even if noauditlog
* was set for the last rule that matched. Is this what we want?
*/
if ((msr->txcfg->auditlog_relevant_regex == NULL)
||(msr->txcfg->auditlog_relevant_regex == NOT_SET_P))
{