[New-bugs-announce] [issue7727] xmlrpc library returns string which contain null ( \x00 )
report at bugs.python.org
Sun Jan 17 20:59:28 CET 2010
New submission from Steven Hartland <steven.hartland at multiplay.co.uk>:
When using SimpleXMLRPCServer that is used to return data that includes strings that have a \x00 in them this data is returned, which is invalid.
The expected result is that the data should be treated as binary and base64 encoded.
The bug appears to be in the core xmlrpc library which relies on type( value ) to determine the data type. This returns str for a string even if it includes the null char.
title: xmlrpc library returns string which contain null ( \x00 )
versions: Python 2.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce