lib/signature/query_encoder.rb in signature-0.1.6 vs lib/signature/query_encoder.rb in signature-0.1.7
- old
+ new
@@ -15,10 +15,10 @@
# Like encode_param, but doesn't url escape keys or values
def encode_param_without_escaping(k, v)
if v.is_a?(Array)
v.map { |e| k + "[]=" + e }.join("&")
else
- k + "=" + v
+ "#{k}=#{v}"
end
end
private