Skip to content

Commit

Permalink
Make sure m_rulesMessages is filled after successfull match
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhora authored and zimmerle committed Oct 16, 2019
1 parent 42da29f commit d4dc3db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/rule.cc
Expand Up @@ -812,7 +812,7 @@ bool Rule::evaluate(Transaction *trans,
trans->serverLog(ruleMessage);
}
}
else if (m_containsStaticBlockAction && !m_containsMultiMatchAction) {
else if (!m_containsMultiMatchAction) {
/* warn */
trans->m_rulesMessages.push_back(*ruleMessage);
/* error */
Expand Down

0 comments on commit d4dc3db

Please sign in to comment.