class Rack::Protection::EscapedParams

def escape(object)

def escape(object)
  case object
  when Hash   then escape_hash(object)
  when Array  then object.map { |o| escape(o) }
  when String then escape_string(object)
  when Tempfile then object
  else nil
  end
end