-
-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] regexp_multi changed behavior in master #4981
Comments
Hi @aduernberger, yep, I assume issue is same that I faced. I closed my issue, to not create a duplicates. |
@vstakhov can you please help with this issue? |
Hi @fatalbanana thank you for a Autotests, do you have ideas whenever this big was introduced? |
|
I don't see how that could be related. |
Also, guys, I'm on a vacation now, please do not expect any significant attention from me these days. |
I've tried to manually verify that it wasn't perhaps fixed again by related commits. |
I build locally Rspamd with basic reverse commit and get things working again. So yes, this is the root case. Problem somewhere there. |
Prerequisites
Describe the bug
Configuring a
regexp_multi
multimap
does not set the correct result score. The Symbol score is shown correctly.Steps to Reproduce
Configure multimap
bad_word.txt
spam_body.txt
Call
rspamc symbols spam_body.txt
.The Symbol
BAD_WORD
shows a score of4.00
. But the result score is19.26
instead of4.00 + 0.86 + 8.00 + 2.50 + -0.10 + 7.00 = 22,26
Expected behavior
Doing the same with
3.8.4
yields the correct score.Versions
Broken: Rspamd daemon version 3.9.0 (current master built today, same problem with master built one month ago)
Working: Rspamd daemon version 3.8.4
Both tests were done on an updated Ubuntu 22.04 Server.
Additional Information
Maybe the same issue as #4978
The text was updated successfully, but these errors were encountered: