lib/algolia/helpers.rb in algolia-2.3.3 vs lib/algolia/helpers.rb in algolia-2.3.4
- old
+ new
@@ -42,10 +42,10 @@
# Build a path with the given arguments
#
def path_encode(path, *args)
arguments = []
args.each do |arg|
- arguments.push(CGI.escape(CGI.unescape(arg.to_s)))
+ arguments.push(CGI.escape(arg.to_s))
end
format(path, *arguments)
end