Skip to content

Commit d4dc3db

Browse files
victorhorazimmerle
authored andcommitted
Make sure m_rulesMessages is filled after successfull match
1 parent 42da29f commit d4dc3db

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+
- Make sure m_rulesMessages is filled after successfull match
5+
[Issue #2000, #2048 - @victorhora, @defanator]
46
- Fix @pm lookup for possible matches on offset zero.
57
[@zimmerle, @afoxdavidi, @martinhsv, @marshal09]
68
- Regex lookup on the key name instead of COLLECTION:key

src/rule.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ bool Rule::evaluate(Transaction *trans,
812812
trans->serverLog(ruleMessage);
813813
}
814814
}
815-
else if (m_containsStaticBlockAction && !m_containsMultiMatchAction) {
815+
else if (!m_containsMultiMatchAction) {
816816
/* warn */
817817
trans->m_rulesMessages.push_back(*ruleMessage);
818818
/* error */

0 commit comments

Comments
 (0)