New submission from Steven Hartland <[email protected]>:

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 <[email protected]>
<http://bugs.python.org/issue7727>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to