From kde-commits Mon Jan 02 04:04:31 2006 From: Navindra Umanee Date: Mon, 02 Jan 2006 04:04:31 +0000 To: kde-commits Subject: dot.kde.org/static/cgi Message-Id: <1136174671.372040.21765.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=113617468213899 SVN commit 493296 by navindra: url-escape input fields M +7 -0 google.cgi --- trunk/dot.kde.org/static/cgi/google.cgi #493295:493296 @@ -6,6 +6,13 @@ require 'cgi' cgi = CGI.new +class << cgi + alias_method :_old_get_, :"[]" + def [](i) + CGI.escape(_old_get_(i)) + end +end + google = 'http://www.google.com/u/dot' num = 'num=100' must_have = 'as_oq='