diff options
author | Kevin Casey <kacasey@berkeley.edu> | 2014-02-15 13:05:00 -0800 |
---|---|---|
committer | Kevin Casey <kacasey@berkeley.edu> | 2014-02-15 13:05:00 -0800 |
commit | 8508346dd06399aecd413b95da92b2d1b52f7d3c (patch) | |
tree | 686234a719e00be0c4a5ba72cca4df7ce8c8ceaf /actionpack/CHANGELOG.md | |
parent | 4914adc2b0f0c6338f0763e364db02dcf7d49255 (diff) | |
download | rails-8508346dd06399aecd413b95da92b2d1b52f7d3c.tar.gz rails-8508346dd06399aecd413b95da92b2d1b52f7d3c.tar.bz2 rails-8508346dd06399aecd413b95da92b2d1b52f7d3c.zip |
Correct prestreaming controller response status.
if the controller action has not yet streamed any data, actions should
process as normal, and errors should trigger the appropriate behavior
(500, or in the case of ActionController::BadRequest, a 400 Bad Request)
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 342f670e78..35b0a419d3 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,10 @@ +* Set stream status to 500 (or 400 on BadRequest) when an error is thrown + before commiting. + + Fixes #12552. + + *Kevin Casey* + * Add new config option `config.action_dispatch.cookies_serializer` for specifying a serializer for the signed and encrypted cookie jars. |