Capture Host header from audit log requests
This commit is contained in:
@@ -780,6 +780,10 @@ function wafAuditLogList(array $params): array
|
||||
$current['host'] = trim($matches[1]);
|
||||
continue;
|
||||
}
|
||||
if (preg_match('/^Host:\s*(.+)$/', $line, $matches)) {
|
||||
$current['host'] = trim($matches[1]);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!str_contains($line, 'ModSecurity:')) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user