Skip to content

Commit

Permalink
Fixes an XSS in bunny1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok Menghrajani committed Apr 30, 2012
1 parent d72dbca commit f078b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bunny1.py
Expand Up @@ -170,7 +170,7 @@ def do_command(self, raw, a=(), k={}):
try:
return self.do_command(arg)
except HTTPRedirect, redir:
url = redir.urls[0]
url = escape(redir.urls[0])
return "<code><b>bunny1</b> DEBUG: redirect to <a href='%s'>%s</a></code>" % (url, url)

# we don't want people calling things like __str__, etc.
Expand Down

0 comments on commit f078b60

Please sign in to comment.