[Zope] xml-rpc illegal characters

Ed Colmar ed@greengraphics.net
Fri, 14 Mar 2003 21:44:33 -0800 (PST)


Hi Mark

Thanks for the reply.

So you are using the illegal characters in your strings, and want to
preserve them?

I really don't need to, most of my data is just users being cute.

So far I've found that these characters are off limits:

"
'
<
>
&


Anyone found any others?

-e-

On Wed, 12 Mar 2003, Mark Gibson wrote:

> I've been using xmlrpclib.Binary to encode the strings before I send them.
>
> Mark
> 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?
> >
> > Thanks!
> >
> > -e-
> >
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>

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