snappymail
snappymail copied to clipboard
Misinterpretation of negative spam scores
Describe the bug Negative spam scores are not correctly interpreted. If an e-mail has a score of -97, it will be considered as having a score of 97 by snappymail.
To Reproduce Steps to reproduce the behavior:
- Receive a mail
- On the mail, see the spam score
- See the value
- See, in source that the effective value is negative
Expected behavior If a score is negative, the score bar should display either 0, or the negative score with a blank score bar.
Please complete the following information:
- Browser: Firefox 136.0.3
- IMAP daemon: hmailserver
- PHP version: 8.4.5
- SnappyMail Version: v2.38.2
- Mode: standalone