+ 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)
+ CGI.escape(p.gsub(/ /, "+")).gsub("%2B", "+")