diff options
| author | Olivier Dony <odo@openerp.com> | 2014-06-04 00:08:01 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2014-06-05 10:11:23 +0200 |
| commit | d1b0d2586b82a883f21914c64b76aaffe3a42550 (patch) | |
| tree | ed344b281d2f764dfa73d9c3a2eb493cd6de55eb /addons/web/static/src/xml | |
| parent | 651e5acd5dc3b0e4f88473d881c0d24bb7ef9020 (diff) | |
[FIX] ir.qweb: rendering non-string attributes could cause unicode errors (Issue #282)
This occurs because werkzeug.utils.escape() auto-casts
non-basestring values to unicode, while we expect to be
working with bytestrings only.
So when evaluating attribute values, make sure we always
return bytestring values, never int, bool or unicode.
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions
