diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-09-10 17:35:44 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2014-09-10 17:36:00 +0200 |
| commit | f2cf6ced17d3477b8858e3a8f955a42cc8a629ff (patch) | |
| tree | aefdbd1f3a3ec50a4b1c0949e60727f6e5b9970d /addons/web/static/src/js/data.js | |
| parent | 2459cd5dd14282b485f9e6e39df857c3b8cfa636 (diff) | |
[FIX] mail: encoding of sender name with unicode
When sending an email, both formats 'Name <email>' or '"Name" <email>' can be used for fields 'From', 'To' and others. If the name contains unicode characters, a regex only matching '"Name" <email>' was used to encode the name with RFC2047. That meant that the name was not encoded and eventually dropped, using only the email part.
Instead of using a limited regex, use the parseaddr method from email library.
Fixes lp:1272610, opw 607683
Diffstat (limited to 'addons/web/static/src/js/data.js')
0 files changed, 0 insertions, 0 deletions
