Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

No longer able to functional test APIs #5341

Closed
NZKoz opened this Issue · 1 comment

2 participants

@NZKoz
Owner

The change introduced in #1203 makes an incorrect assumption. While it's true that you can only have strings in the params hash when using application/x-www-form-urlencoded, other request formats like JSON and XML can quite happily include fixnums and other values.

@pixeltrix pixeltrix closed this in 7a80b69
@pixeltrix
Owner

Also fixed in 3-2-stable and 3-1-stable.

@arunagw arunagw referenced this issue from a commit in arunagw/rails
@pixeltrix pixeltrix Don't convert params if the request isn't HTML - fixes #5341
(cherry picked from commit 7a80b69)

Conflicts:

	actionpack/test/controller/test_test.rb
d6bbd33
@arunagw arunagw referenced this issue from a commit in arunagw/rails
@pixeltrix pixeltrix Don't convert params if the request isn't HTML - fixes #5341
(cherry picked from commit d6bbd33)
8af2fd8
@ttosch ttosch referenced this issue from a commit
@pixeltrix pixeltrix Don't convert params if the request isn't HTML - fixes #5341
(cherry picked from commit d6bbd33)
3788896
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.