Permalink
Browse files

Fix obvious security hole

I don't see the point in having this...
  • Loading branch information...
1 parent f078b60 commit 17401f51dd6b0117d9adbe4e2f7985b5af173237 Alok Menghrajani committed Aug 1, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/bunny1.py
View
@@ -444,10 +444,6 @@ def echo(self, arg):
"""returns back what you give to it"""
raise Content(escape(arg))
- def html(self, arg):
- """returns back the literal HTML you give it"""
- raise Content(arg)
-
def g(self, arg):
"""does a google search. we could fallback to yubnub, but why do an unnecessary roundtrip for something as common as a google search?"""
return GOOGLE_SEARCH_URL + q(arg)

0 comments on commit 17401f5

Please sign in to comment.