summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-07-19 15:41:37 +0200
committerXavier Morel <xmo@odoo.com>2017-07-19 15:41:37 +0200
commitb656eda22d7afc1e320c15870eb374aefd04e6f3 (patch)
tree8a6697f35e39b6463e8b288d6bf851f9c12e4180 /addons
parent21fbb9776a5fbd1838b189f1f7cf8c5d40663e14 (diff)
[FIX] ir_qweb: decoding of attachment assets
For uploaded modules (e.g. saas), uploaded assets are stored in attachments. When the asset content is retrieved, static "filesystem" files are assumed to be UTF8 and properly decoded, but attachment data is not and is thus interpreted as ASCII further down the line, leading to a UnicodeDecodeError (and a broken page/template/...) if the asset data is not actually ASCII (e.g. if it's UTF-8). Fix by treating attachment assets as UTF8 encoded, same as filesystem assets. OPW-752858
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions