X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Ffish.rb;h=dcd4a0e3928f505856d10896c5b02faccc8da637;hb=5f1c92ac9eb22f8b977d66147af663f12000338e;hp=140c95704b2cb1a904c1aa7bf0eb034a68453eb5;hpb=a7c40c145f5be6c7c99752bb0af93c0735971694;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/fish.rb b/data/rbot/plugins/fish.rb index 140c9570..dcd4a0e3 100644 --- a/data/rbot/plugins/fish.rb +++ b/data/rbot/plugins/fish.rb @@ -31,7 +31,7 @@ class BabelPlugin < Plugin return end - data_text = URI.escape trans_text + data_text = CGI.escape trans_text trans_pair = "#{trans_from}_#{trans_to}" if (trans_text =~ /^http:\/\//) && (URI.parse(trans_text) rescue nil)