From 5f308fa630d113b3f424896d6c3c2073be14d0d7 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 18 Dec 2019 19:12:32 -0500 Subject: [PATCH] No need to escape [skip ci] --- lib/searchkick/logging.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/searchkick/logging.rb b/lib/searchkick/logging.rb index a317521..0900013 100644 --- a/lib/searchkick/logging.rb +++ b/lib/searchkick/logging.rb @@ -172,7 +172,7 @@ module Searchkick params << "#{CGI.escape(k.to_s)}=#{CGI.escape(v.to_s)}" end - debug " #{color(name, YELLOW, true)} #{index}#{type ? "/#{type.map { |t| CGI.escape(t) }.join(',')}" : ''}/_search#{params.any? ? "?" + params.join('&') : nil} #{payload[:query][:body].to_json}" + debug " #{color(name, YELLOW, true)} #{index}#{type ? "/#{type.join(',')}" : ''}/_search#{params.any? ? '?' + params.join('&') : nil} #{payload[:query][:body].to_json}" end def request(event) -- libgit2 0.21.0