Author serhiy.storchaka
Recipients BreamoreBoy, Steven.Hartland, haypo, loewis, pitrou, serhiy.storchaka
Date 2013-05-22.12:11:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369224664.36.0.443117789963.issue7727@psf.upfronthosting.co.za>
In-reply-to
Content
The limitations is already documented:

"""However, it’s the caller’s responsibility to ensure that the string is free of characters that aren’t allowed in XML, such as the control characters with ASCII values between 0 and 31 (except, of course, tab, newline and carriage return); failing to do this will result in an XML-RPC request that isn’t well-formed XML. If you have to pass arbitrary bytes via XML-RPC, use the bytes class or the class:Binary wrapper class described below."""

Here is a patch which forbids creating ill-formed XML.
History
Date User Action Args
2013-05-22 12:11:04serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, pitrou, haypo, Steven.Hartland, BreamoreBoy
2013-05-22 12:11:04serhiy.storchakasetmessageid: <1369224664.36.0.443117789963.issue7727@psf.upfronthosting.co.za>
2013-05-22 12:11:04serhiy.storchakalinkissue7727 messages
2013-05-22 12:11:04serhiy.storchakacreate