How to make xss safe strings

Roopesh roopesh.raj at gmail.com
Thu Aug 21 05:10:59 CEST 2008


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.

Regards
Roopesh



More information about the Python-list mailing list