Permalink
Browse files

Merge pull request #2 from alokmenghrajani/master

Fix obvious security hole
  • Loading branch information...
2 parents e84376b + 17401f5 commit fffdf86c2f55f7f82c1a7940b40e05e27da66c00 @ccheever committed Aug 7, 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 fffdf86

Please sign in to comment.