+ return nil
+ end
+ end
+
+ # Simply escapes a param and substitutes spaces and escaped plus signs for
+ # plus signs.
+ #
+ # @param [String] p the parameter to be sanitized
+ # @return [String] the sanitized parameter
+ def sanitize_param(p)
+ URI.encode_www_form_component(p.gsub(/ /, "+")).gsub("%2B", "+")