diff options
| author | len-odoo <len@odoo.com> | 2018-05-09 12:11:20 +0200 |
|---|---|---|
| committer | len-odoo <35492570+len-odoo@users.noreply.github.com> | 2018-05-09 16:49:34 +0200 |
| commit | 6c6c4b89a077d2345425771c854ac608ff4f136d (patch) | |
| tree | ab2fdfe27df228d34c3ddb0d551116fe6a2a8c71 /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | dff1e96ed35481c9805ec65b483a5e01e0593d98 (diff) | |
[FIX] mail: parse eml/msg attachments
When parsing an email with some eml or dmg attachment, the parsing would
generate an attachment with empty content.
Since this content is later encoded in base64, it would crash trying to encode
None.
We simply do not process attachments without content.
We add a test to check that parsing mail with some empty attachment doesn't
crash, since the crash implies that the mail gets stuck on server
and is never fully processed by Odoo.
opw 1814014
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions
