[New-bugs-announce] [issue7727] xmlrpc library returns string which contain null ( \x00 )

Steven Hartland 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.

----------
components: XML
messages: 97972
nosy: Steven.Hartland
severity: normal
status: open
title: xmlrpc library returns string which contain null ( \x00 )
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7727>
_______________________________________


More information about the New-bugs-announce mailing list