[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    dot.kde.org/static/cgi
From:       Navindra Umanee <navindra () cs ! mcgill ! ca>
Date:       2006-01-02 4:04:31
Message-ID: 1136174671.372040.21765.nullmailer () svn ! kde ! org
[Download RAW message or body]

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='
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic