mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-01 14:15:46 +03:00
Replaces getKeyWithCollection with getName on VariableValue
This commit is contained in:
committed by
Felipe Zimmerle
parent
ae74d37f96
commit
1eedf3e898
@@ -1563,7 +1563,7 @@ std::string Transaction::toOldAuditLogFormat(int parts,
|
||||
m_variableRequestHeaders.resolve(&l);
|
||||
for (const auto &h : l) {
|
||||
size_t pos = strlen("REQUEST_HEADERS:");
|
||||
audit_log << h->getKeyWithCollection().c_str() + pos << ": ";
|
||||
audit_log << h->getName().c_str() + pos << ": ";
|
||||
audit_log << h->getValue().c_str() << std::endl;
|
||||
}
|
||||
audit_log << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user