module RSolr::HTTPClient::Util
def escape(s)
query strings faster. Use this rather than the cgi.rb
Performs URI escaping so that you can construct proper
def escape(s) s.to_s.gsub(/([^ a-zA-Z0-9_.-]+)/n) { '%'+$1.unpack('H2'*$1.size).join('%').upcase }.tr(' ', '+') end