On Aug 20, 10:10 pm, Roopesh <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How can I make a string XSS safe? Will
> simply .replace('<','&lt;').replace('>','&gt;').... 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, use the cgi.escape function.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to