Make sure m_rulesMessages is filled after successfull match

This commit is contained in:
Victor Hora 2019-03-15 18:55:49 -04:00 committed by Felipe Zimmerle
parent 42da29fed1
commit d4dc3dbf2a
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
v3.0.4 - YYYY-MMM-DD (to be released)
-------------------------------------
- Make sure m_rulesMessages is filled after successfull match
[Issue #2000, #2048 - @victorhora, @defanator]
- Fix @pm lookup for possible matches on offset zero.
[@zimmerle, @afoxdavidi, @martinhsv, @marshal09]
- Regex lookup on the key name instead of COLLECTION:key

View File

@ -812,7 +812,7 @@ end_exec:
trans->serverLog(ruleMessage);
}
}
else if (m_containsStaticBlockAction && !m_containsMultiMatchAction) {
else if (!m_containsMultiMatchAction) {
/* warn */
trans->m_rulesMessages.push_back(*ruleMessage);
/* error */