Skip to content

Commit

Permalink
Also escape quotes. Fix XSS bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Aug 31, 2012
1 parent b90063f commit c0f1898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/master.py
Expand Up @@ -130,7 +130,7 @@ def escape(self, var):
"""
Escape input
"""
return cgi.escape(var)
return cgi.escape(var, True)

def reset_if_empty(self, to_check = None):
"""
Expand Down

0 comments on commit c0f1898

Please sign in to comment.