[Zope] xml-rpc illegal characters

Ed Colmar ed@greengraphics.net
Wed, 12 Mar 2003 19:11:53 -0800 (PST)


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?

Thanks!

-e-

-- 
Green Graphics   :::   Print and Web Design   :::   510.923.0000