summaryrefslogtreecommitdiff
path: root/addons/mass_mailing/static
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2017-10-20 18:40:22 +0200
committerOlivier Dony <odo@openerp.com>2017-10-20 18:40:22 +0200
commit68bef91d733aaf8f08df5f3daf0821a4c59d4d87 (patch)
tree164150d8d4f5356a19d4bdf6af7f5ec949a72233 /addons/mass_mailing/static
parente9b969b39daeefe092e1bee584a424929daf14b1 (diff)
[FIX] P3: mail: message parsing must return native strings
There was a leftover explicit conversion to bytestrings during the parsing of HTML email parts. This translated into a parse result with `msg_dict['body']` as a `bytes` instance in Python 3, instead of the expected text type. Coercing the result of etree.tostring() with UTF-8 encoding to a native string should preserve the semantics in both Python versions without this side-effect. + simplify another instance of native string use
Diffstat (limited to 'addons/mass_mailing/static')
0 files changed, 0 insertions, 0 deletions