How to make xss safe strings

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


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.


More information about the Python-list mailing list