Author Steven.Hartland
Recipients Steven.Hartland
Date 2010-01-17.19:59:27
SpamBayes Score 9.56546e-08
Marked as misclassified No
Message-id <1263758368.94.0.169057465263.issue7727@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-01-17 19:59:29Steven.Hartlandsetrecipients: + Steven.Hartland
2010-01-17 19:59:28Steven.Hartlandsetmessageid: <1263758368.94.0.169057465263.issue7727@psf.upfronthosting.co.za>
2010-01-17 19:59:27Steven.Hartlandlinkissue7727 messages
2010-01-17 19:59:27Steven.Hartlandcreate