Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove ancient tests for CGI parsing bug

  • Loading branch information...
commit 63b4fe53abec586e122cde629adde5000a517f9c 1 parent 28b65c9
@josh josh authored
View
30 actionpack/test/controller/request/url_encoded_params_parsing_test.rb
@@ -80,36 +80,6 @@ def teardown
assert_parses expected, query
end
- test "parses params with non alphanumeric name" do
- query = "a/b[c]=d"
- expected = { "a/b" => { "c" => "d" }}
- assert_parses expected, query
- end
-
- test "parses params with single brackets in the middle" do
- query = "a/b[c]d=e"
- expected = { "a/b" => {} }
- assert_parses expected, query
- end
-
- test "parses params with separated brackets" do
- query = "a/b@[c]d[e]=f"
- expected = { "a/b@" => { }}
- assert_parses expected, query
- end
-
- test "parses params with separated brackets and array" do
- query = "a/b@[c]d[e][]=f"
- expected = { "a/b@" => { }}
- assert_parses expected, query
- end
-
- test "parses params with unmatched brackets and array" do
- query = "a/b@[c][d[e][]=f"
- expected = { "a/b@" => { "c" => { }}}
- assert_parses expected, query
- end
-
test "parses params with nil key" do
query = "=&test2=value1"
expected = { "test2" => "value1" }
Please sign in to comment.
Something went wrong with that request. Please try again.