diff options
| author | Julien Castiaux <juc@odoo.com> | 2021-01-21 14:15:20 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2021-01-21 14:15:20 +0000 |
| commit | 61b0a859b76ebffe083e10b25e4af52702dfb61f (patch) | |
| tree | c7c807715d1c5a1eba992d793ee9a8ee9708f7cd /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | b259b8069f74088bd8add50ddab76c1a7630ac8f (diff) | |
[FIX] base: allow space in SMTP login username
Configure an email server and create a login account with a space like
"foo bar". In odoo configure an Outgoing mail server using that account,
there is an error because the username is misconsidered invalid.
The errors resides in the IDNA implementation of Odoo, we try to split
the username to get a login and a domain in order to encode the domain
using the ponycode algorithm. In case the username was not an email
adress but just a single name, the single name was mistaken for a
domain. As domain cannot have spaces, an error was thrown.
opw-2419024
closes odoo/odoo#64864
Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
