diff options
| author | Jeremy Kersten <jke@odoo.com> | 2016-08-22 15:27:14 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2016-08-22 16:25:52 +0200 |
| commit | 97b702a7b085485b15dfcd3973941cf6dd3f2b55 (patch) | |
| tree | 96d5c85b7efba668a06525c3e697e204e6e6bc3a /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 2ab68047c11c0902b6a9e5d772b654862fba9c40 (diff) | |
[FIX] web: fix mimetype for content_image
Since the commit odoo/odoo@36e875e which disable the second-guess from browser,
IE cannot display picture from Odoo where mimetype is wrong.
Before this commit, IE and probably other browser which one respect the header
'nosniff' don't display picture not_found and resized picutre via controller if
the original was not of type 'png'.
Eg: when we return the placholder 'not_found' if you don't have permission,
or when your resize the picture, ... we need to force the mime-type with the
new one and not keep the original mimetype.
This commit closes #13193
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
