summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph_widget.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-06-04 00:08:01 +0200
committerOlivier Dony <odo@openerp.com>2014-06-05 10:11:23 +0200
commitd1b0d2586b82a883f21914c64b76aaffe3a42550 (patch)
treeed344b281d2f764dfa73d9c3a2eb493cd6de55eb /addons/web_graph/static/src/js/graph_widget.js
parent651e5acd5dc3b0e4f88473d881c0d24bb7ef9020 (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_graph/static/src/js/graph_widget.js')
0 files changed, 0 insertions, 0 deletions