summaryrefslogtreecommitdiff
path: root/addons/digest/data
diff options
context:
space:
mode:
authorOlivier Dony <odo@odoo.com>2018-11-16 16:35:22 +0100
committerOlivier Dony <odo@odoo.com>2018-11-16 16:35:22 +0100
commita103d4a43effd815e51de02804d6588580ce62f3 (patch)
tree3f51d2ec7774938321c031c5e817aaf12a245f74 /addons/digest/data
parenteafda0469a2245f6c8cec5b63f4c1de0d5391129 (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