diff options
| author | Olivier Dony <odo@odoo.com> | 2018-11-16 16:35:22 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2018-11-16 16:35:22 +0100 |
| commit | a103d4a43effd815e51de02804d6588580ce62f3 (patch) | |
| tree | 3f51d2ec7774938321c031c5e817aaf12a245f74 /addons/digest/data | |
| parent | eafda0469a2245f6c8cec5b63f4c1de0d5391129 (diff) | |
[FIX] mail: use strict email matching for bounces
When a bounce is received, we look for matching partners in order to
increment the bounce counter. However by using [`ilike','email`] we carry
the risk of matching emails that contain the bounce email:
['email', 'ilike', 'john@hitmail.com“]
will also match 'random.john@hitmail.com' for example.
Using strict equality is safer, and the worst that can happen is that
we fail to count one bounce.
Diffstat (limited to 'addons/digest/data')
0 files changed, 0 insertions, 0 deletions
