aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-05 12:56:21 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-05 12:56:21 +0000
commit7c63add10c03134013fc186a5ac49cdb2d22eca2 (patch)
tree59c25307d6d1571456d3d88d2e83e1f4120f982d /test/functional/configs
parent5ab536d145cedf15bb071914b8b71e07be20e8c4 (diff)
downloadrspamd-7c63add10c03134013fc186a5ac49cdb2d22eca2.tar.gz
rspamd-7c63add10c03134013fc186a5ac49cdb2d22eca2.zip
[Fix] Composites: Allow partial match
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/composites.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/configs/composites.conf b/test/functional/configs/composites.conf
index d57e09818..71e453def 100644
--- a/test/functional/configs/composites.conf
+++ b/test/functional/configs/composites.conf
@@ -80,4 +80,8 @@ composites {
expression = 'OPTS[sym2,/FoO\\//i]';
score = 6.0;
}
+ SYMOPTS4 {
+ expression = 'POSITIVE_A & OPTS[/>app.link$/i] & EXPRESSIONS';
+ score = 6.0;
+ }
}