diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2016-11-14 22:27:53 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2016-11-14 22:44:34 +0100 |
| commit | f2abde5659aa087ff8834140147f8d3be3bcdb3e (patch) | |
| tree | 38e4e5d1b2ca5e6701c6667235c46d7eada2924c /addons/website/static/src/xml | |
| parent | 7be6c7404a09425f50fd7055dfb66f8b7b5dcf7e (diff) | |
[FIX] base: binary url attachment on windows
On windows when opening a binary file a 'b' flag is to be used:
https://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files
Before this commit, /web/image/* and /web/content/* routes serving
an ir.attachment with url could return empty or truncated content.
opw-693306
Diffstat (limited to 'addons/website/static/src/xml')
0 files changed, 0 insertions, 0 deletions
