[Zope] xml-rpc illegal characters
Wed, 12 Mar 2003 12:58:12 -0700
I've been using xmlrpclib.Binary to encode the strings before I send them.
Ed Colmar wrote:
> I've got a xml-rpc error that has creeped in, and I'm curious what the
> standard procedure is for making sure this does not happen. All of these
> xml-rpc fields are user input areas, and are pretty much not protected.
> Users can enter any charaters they want... So far it has been working
> well, but now I've got this:
> Syntax error at line 4324: illegal character in content
> To be expected I guess...
> So, my question is, what are people using for stripping out these
> characters before sending the data over xml-rpc. Or, put another way,
> what characters are permitted? Should I just strip out everything that is
> not alphanumeric?