mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 18:05:28 +03:00
Having a copy of m_httpVersion and m_uri instead of a pointer reference
This commit is contained in:
@@ -1585,8 +1585,8 @@ std::string Transaction::toJSON(int parts) {
|
||||
utils::string::dash_if_empty(
|
||||
m_variableRequestMethod.evaluate()).c_str());
|
||||
|
||||
LOGFY_ADD_INT("http_version", m_httpVersion);
|
||||
LOGFY_ADD("uri", this->m_uri);
|
||||
LOGFY_ADD_INT("http_version", m_httpVersion.c_str());
|
||||
LOGFY_ADD("uri", this->m_uri.c_str());
|
||||
|
||||
if (parts & audit_log::AuditLog::CAuditLogPart) {
|
||||
// FIXME: check for the binary content size.
|
||||
|
||||
Reference in New Issue
Block a user