Re: How to make xss safe strings

2008-08-20 Thread James Matthews
If you are using a framework there should be a urlencode feature within the framework. On Wed, Aug 20, 2008 at 8:58 PM, Dan Bishop <[EMAIL PROTECTED]> wrote: > On Aug 20, 10:10 pm, Roopesh <[EMAIL PROTECTED]> wrote: > > Hi, > > > > How can I make a string XSS safe? Will > > simply .replace('<','<

Re: How to make xss safe strings

2008-08-20 Thread Dan Bishop
On Aug 20, 10:10 pm, Roopesh <[EMAIL PROTECTED]> wrote: > Hi, > > How can I make a string XSS safe? Will > simply .replace('<','<').replace('>','>') do the work? Or > are there some other issues to take into account?. Is there already a > function in python which will do this for me. For HTML,

How to make xss safe strings

2008-08-20 Thread Roopesh
Hi, How can I make a string XSS safe? Will simply .replace('<','<').replace('>','>') do the work? Or are there some other issues to take into account?. Is there already a function in python which will do this for me. Regards Roopesh -- http://mail.python.org/mailman/listinfo/python-list