summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2016-02-17 15:11:14 +0100
committerXavier Morel <xmo@odoo.com>2016-02-17 15:45:11 +0100
commit97d2b758fe23d15f83fcd804b54b4b2326166f10 (patch)
treef2389e050d45c9f98813eea3095f4d995c8a8dde /addons/mail/static/src/xml/thread.xml
parentb57461620362e1c4ff812f0ddbc87e5a8c3d00c0 (diff)
[FIX] catch exception on incorrect mime type
If the user provides a known mimetype which doesn't actually match the file as far as we're concerned, warn and fallback on extension rather than blow up. This comes up when a user installs Excel on Windows: it associates CSV files with itself and sets their mime type to application/vnd.ms-excel, which is not correct and leads to us trying to load a CSV with xlrd (an excel-parsing library). Fixes #9779
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
0 files changed, 0 insertions, 0 deletions