- Affected version
- 2.2.15
The
This can result in the spam log entry having the wrong spam trigger action. ie moderated vs denied.
Additionally
Finally, it looks like
XF\Spam\AbstractChecker::logSpamTrigger
computes a single discussion which doesn't match how XF\Spam\AbstractChecker::getFinalDecision
implements it.This can result in the spam log entry having the wrong spam trigger action. ie moderated vs denied.
Additionally
logSpamTrigger
skips logging on "accept" but, this doesn't match the API usage which can result in dropped logs.Finally, it looks like
logSpamTrigger
will update the existing log entry (ie post gets edited and forced back into the approval queue) rather than generating a new log entry. For a log design that is deeply unexpected.