diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-20 10:20:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 10:20:02 +0900 |
commit | 78ff47f3e77925f72d98579da6feb68f36052ad8 (patch) | |
tree | 115a0699471d63f7b06c5672bfceadf66a06ad68 /actionpack | |
parent | daffe03308bffc43ea343a886aab33082d83bb9c (diff) | |
parent | 888dda875bfa210c436aff946dff487c7a5304a3 (diff) | |
download | rails-78ff47f3e77925f72d98579da6feb68f36052ad8.tar.gz rails-78ff47f3e77925f72d98579da6feb68f36052ad8.tar.bz2 rails-78ff47f3e77925f72d98579da6feb68f36052ad8.zip |
Merge pull request #32652 from bogdanvlviv/add-missing-changelog-for-32593
Add missing changelog entry
[ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index a370c3fc99..e51b19b6d0 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,15 @@ +* Fix strong parameters `permit!` with nested arrays. + + Given: + ``` + params = ActionController::Parameters.new(nested_arrays: [[{ x: 2, y: 3 }, { x: 21, y: 42 }]]) + params.permit! + ``` + + `params[:nested_arrays][0][0].permitted?` will now return `true` instead of `false`. + + *Steve Hull* + * Output only one Content-Security-Policy nonce header value per request. Fixes #32597. |