summaryrefslogtreecommitdiff
path: root/python25-compat/SimpleXMLRPCServer.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-09-06 19:31:40 +0200
committerOlivier Dony <odo@openerp.com>2011-09-06 19:31:40 +0200
commit7d3d3a6abafa4560ef7e1ad803a013252668ddaf (patch)
tree96446f6a56e998bb1f1249a34921ccc01c70d272 /python25-compat/SimpleXMLRPCServer.py
parent448a0168244888c21c1f6684d8bb471a2f126d09 (diff)
[FIX] fields.function: type=binary: workaround for the low byte values (<=0x1f) unsupported in XML
We have a workaround in place for fields.function of binary type that may return values that are invalid in XML documents, and thus in our XML-RPC protocol. But out workaround failed to care for the invalid XML codepoints (below 0x1f) that are well valid in UTF-8 encoding. Added a sanity check for that as well, using a terrible workaround for this last resort case: b64-encode the bytes, to avoid crashing the request. bzr revid: odo@openerp.com-20110906173140-vc4tl6wstzt8h06o
Diffstat (limited to 'python25-compat/SimpleXMLRPCServer.py')
0 files changed, 0 insertions, 0 deletions