diff options
| author | Julien Castiaux <juc@odoo.com> | 2020-11-19 10:17:50 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2020-11-19 14:00:08 +0000 |
| commit | 89a1989bd271f49a9222d5c255e03d4877045621 (patch) | |
| tree | f144c2b212bfaaf4ce230ebd6d8e16c4cb2d7e26 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 31497e17e2369147fa40ab8b3f82cb2602ec9012 (diff) | |
[FIX] ir_mail_server: Use IDNA for smtp_user
There is a user whose email login is "joe@examplé.com", notice the
latin "é" in the domain. This domain is a valid IDNA-2008 domain but
the smtplib of python is incompatible with such domain and raises a
UnicodeError because the character is not ascii.
Note the removed comment about bytestring is a leftover of a dark
python2 age and is no more valid.
Closes #61972
closes odoo/odoo#61994
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
