aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_controller/cgi/ext.rb
blob: 558748f4bd045f8396120d35d6cb9892cad95d02 (plain) (tree)
1
2
3
4
5
6


                                                   

                  
                                            







                                                       
   
require 'action_controller/cgi/ext/stdinput'
require 'action_controller/cgi/ext/query_extension'
require 'action_controller/cgi/ext/cookie'

class CGI #:nodoc:
  include ActionController::CgiExt::Stdinput

  class << self
    alias :escapeHTML_fail_on_nil :escapeHTML

    def escapeHTML(string)
      escapeHTML_fail_on_nil(string) unless string.nil?
    end
  end
end