diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index e1775a8b344bc2e419853d027b970f5ea0b573e6..a5c1a3b01e50f0f7ff418177137c40bd9908c802 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,6 +1,6 @@ *SVN* -* Changed the POST parameter processing to use the new QueryStringParser and make the result a indifferent hash [DHH] +* Changed the POST parameter processing to use the new QueryStringParser [DHH] * Add UrlWriter to allow writing urls from Mailers and scripts. [Nicholas Seckar] diff --git a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb index 0bd6ae5bdd58c0002baa00b88cf0d69853429774..5f4f8d80d56dc3c0fd869cf8df289440cb38a448 100755 --- a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb +++ b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb @@ -156,7 +156,7 @@ def parse end - return result.with_indifferent_access + return result end # Skip over the current term by scanning past the next &, or to diff --git a/actionpack/test/controller/cgi_test.rb b/actionpack/test/controller/cgi_test.rb index be0ed1feef021b8f97111e979d508f085f28bcfa..ee2892f618fd081819ccc12301db5784b8756169 100755 --- a/actionpack/test/controller/cgi_test.rb +++ b/actionpack/test/controller/cgi_test.rb @@ -29,7 +29,6 @@ def test_query_string def test_deep_query_string expected = {'x' => {'y' => {'z' => '10'}}} assert_equal(expected, CGIMethods.parse_query_parameters('x[y][z]=10')) - assert_equal("10", CGIMethods.parse_query_parameters('x[y][z]=10')[:x][:y][:z]) end def test_deep_query_string_with_array