Skip to content
Snippets Groups Projects
Commit d1b0d258 authored by Olivier Dony's avatar Olivier Dony
Browse files

[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.
parent 651e5acd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment