diff options
| author | Olivier Dony <odo@openerp.com> | 2015-01-06 15:26:21 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2015-01-07 17:50:42 +0100 |
| commit | 005e24fada851efaed112fce4244a3af225d8f74 (patch) | |
| tree | 98043d9a2608fedbb4373237614be6dd69efee5f /addons/analytic_user_function/i18n/sr@latin.po | |
| parent | 69bfc5e1086f6a187c26a19f2e307b6ffce962bf (diff) | |
[FIX] mail.thread: correct matching when finding author + test
The previous matching rules were too fuzzy and allowed random
prefix-match or tail-match of other user's emails.
For example when looking up a partner matching 'foo@bar.com'
the system would sometimes find 'dom.foo@bar.com' instead,
or 'foo@bar.com.tw'.
Fixed by only allowing direct case-insensitive email match
of an addr-spec, or substring match of the addr-spec enclosed
in angle brackets, within a name-addr pair.
See also RFC5322, section 3.4
Also adapted related message_find_partner_from_emails() method
to factor out the partner email resolution mechanism to avoid
the same problem.
Adds corresponding regression test.
Diffstat (limited to 'addons/analytic_user_function/i18n/sr@latin.po')
0 files changed, 0 insertions, 0 deletions
