Changeset 4343
- Timestamp:
- 05/16/06 20:56:41 (2 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb (modified) (1 diff)
- trunk/actionpack/test/controller/cgi_test.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r4341 r4343 1 1 *SVN* 2 3 * Fix NoMethodError when parsing params like &&. [Adam Greenfield] 2 4 3 5 * Fix flip flopped logic in docs for url_for's :only_path option. Closes #4998. [esad@esse.at] trunk/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
r3936 r4343 46 46 47 47 for key, value in params 48 next if key.nil? 48 49 value = [value] if key =~ /.*\[\]$/ 49 50 unless key.include?('[') trunk/actionpack/test/controller/cgi_test.rb
r3894 r4343 228 228 assert_equal expected, CGIMethods.parse_request_parameters(input) 229 229 end 230 231 def test_parse_params_with_nil_key 232 input = { nil => nil, "test2" => %w(value1) } 233 expected = { "test2" => "value1" } 234 assert_equal expected, CGIMethods.parse_request_parameters(input) 235 end 230 236 end 231 237