Skip to content

Commit a24aed4

Browse files
committed
Fix: audit log part for response body for JSON format to be E
1 parent 94dac7a commit a24aed4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
v3.0.4 - YYYY-MMM-DD (to be released)
22
-------------------------------------
33

4+
- Fix: audit log part for response body for JSON format to be E
5+
[Issue #2066 - @martinhsv, @zimmerle]
46
- Make sure m_rulesMessages is filled after successfull match
57
[Issue #2000, #2048 - @victorhora, @defanator]
68
- Fix @pm lookup for possible matches on offset zero.

src/transaction.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ std::string Transaction::toJSON(int parts) {
15931593
strlen("response"));
15941594
yajl_gen_map_open(g);
15951595

1596-
if (parts & audit_log::AuditLog::GAuditLogPart) {
1596+
if (parts & audit_log::AuditLog::EAuditLogPart) {
15971597
LOGFY_ADD("body", this->m_responseBody.str().c_str());
15981598
}
15991599
LOGFY_ADD_NUM("http_code", m_httpCodeReturned);

0 commit comments

Comments
 (0)