[issue2830] Copy cgi.escape() to html

Pablo Mouzo report at bugs.python.org
Wed Aug 25 03:00:56 CEST 2010


Pablo Mouzo <pablomouzo at gmail.com> added the comment:

Sorry about that, I have no idea how I managed to generate that diff.

I'm attaching the correct patch.

About the slash, there's a link in #9061 that recommends to escape the slash too because it's used to close tags in HTML. Is there any chance that escaping it could cause problems?

----------
Added file: http://bugs.python.org/file18636/issue2830.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2830>
_______________________________________


More information about the Python-bugs-list mailing list