lib/usher/util/generate.rb in usher-0.7.5 vs lib/usher/util/generate.rb in usher-0.8.0

- old
+ new

@@ -176,10 +176,10 @@ params.each do |k,v| case v when Array v.each do |v_part| extra_params_result << '&' unless extra_params_result.empty? - extra_params_result << Rack::Utils.escape("#{k.to_s}[]") << '=' << Rack::Utils.escape(v_part.to_s) + extra_params_result << Rack::Utils.escape(k.to_s) << '%5B%5D=' << Rack::Utils.escape(v_part.to_s) end else extra_params_result << '&' unless extra_params_result.empty? extra_params_result << Rack::Utils.escape(k.to_s) << '=' << Rack::Utils.escape(v.to_s) end