aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2018-07-20 21:10:11 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2018-07-20 21:10:11 +0200
commit3e2629eb7fae33cd521bf1c265d1bbe8ed04c59e (patch)
tree6fdf5ee87c1931e8f55fb942882e338be64c4ac0
parente7fe07e7f08a43d3f1bdcc522233a01fca184c28 (diff)
downloadrails-3e2629eb7fae33cd521bf1c265d1bbe8ed04c59e.tar.gz
rails-3e2629eb7fae33cd521bf1c265d1bbe8ed04c59e.tar.bz2
rails-3e2629eb7fae33cd521bf1c265d1bbe8ed04c59e.zip
[ci skip] Move changelog entry up top. Clarify.
-rw-r--r--actionpack/CHANGELOG.md18
1 files changed, 11 insertions, 7 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index af8ecb7e2a..96ff664b99 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,3 +1,14 @@
+* Prevent `?null=` being passed on JSON encoded test requests.
+
+ `RequestEncoder#encode_params` won't attempt to parse params if
+ there are none.
+
+ So call like this will no longer append a `?null=` query param.
+
+ get foos_url, as: :json
+
+ *Alireza Bashiri*
+
* Pass along arguments to underlying `get` method in `follow_redirect!`
Now all arguments passed to `follow_redirect!` are passed to the underlying
@@ -50,12 +61,5 @@
*Jeremy Daer*
-* Prevent `RequestEncoder#encode_params` to parse falsey params
-
- Now `RequestEncoder#encode_params` doesn't convert
- falsey params into query string.
-
- *Alireza Bashiri*
-
Please check [5-2-stable](https://github.com/rails/rails/blob/5-2-stable/actionpack/CHANGELOG.md) for previous changes.