lib/rack/app/instance_methods/path_to.rb in rack-app-6.6.0 vs lib/rack/app/instance_methods/path_to.rb in rack-app-6.7.0

- old
+ new

@@ -17,10 +17,10 @@ value = query_string_hash.delete(key) || params[key] || raise("missing path-key value for #{key}!") final_path.gsub!(/:#{key}/, value.to_s) end unless query_string_hash.empty? - final_path.concat("?" + Rack::App::Utils.encode_www_form(query_string_hash)) + final_path.concat("?" + Rack::Utils.build_nested_query(query_string_hash)) end final_path end end