diff options
| author | Olivier LAURENT <olivier.laurent@acsone.eu> | 2015-05-12 17:51:29 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-05-12 17:53:16 +0200 |
| commit | 242e61796b9d4f5d1e396148571ab26020ed8129 (patch) | |
| tree | 04b9fb5be5d39001aef881d041f02dc14ed75493 /addons/web/static/src/xml/base.xml | |
| parent | d1c4d16a3a54aa41a460d879c04c985e551c624a (diff) | |
[FIX] mail: missing spaces in email subjects composed of several encoding
sometimes some blank spaces are lost in subject of some incoming messages
There is a bug in `decode_header` in Python < 3.3,
which leads to lost some spaces in the email subjects
when several encodings are used in this subject.
See
- Issue: http://bugs.python.org/issue1079
- Fix: https://hg.python.org/cpython/rev/8c03fe231877
Joining the strings returned in the result of `decode_header`
solves most cases. Only extreme cases, like having
a subject with several different encodings following
each other without white spaces between them could lead
to have extra spaces in the subject. It won't happen
most of the time.
Closes #6629
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
