From 109fa2a5b63af113df2c6b21d44135efa0d94d70 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 8 Apr 2007 09:37:01 +0000 Subject: plugins: use CGI.escape instead of URI.escape where appropriate, remove some checks for InvalidURIs that don't make sense anymore, irficy some more html --- data/rbot/plugins/imdb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot/plugins/imdb.rb') diff --git a/data/rbot/plugins/imdb.rb b/data/rbot/plugins/imdb.rb index 240ded86..0464ba3a 100644 --- a/data/rbot/plugins/imdb.rb +++ b/data/rbot/plugins/imdb.rb @@ -32,7 +32,7 @@ class Imdb end def search(rawstr, rawopts={}) - str = URI.escape(rawstr) + str = CGI.escape(rawstr) str << ";site=aka" if @bot.config['imdb.aka'] opts = rawopts.dup opts[:type] = :both unless opts[:type] -- cgit v1.2.3