diff options
author | Yves Senn <yves.senn@gmail.com> | 2012-12-30 22:49:46 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2012-12-31 17:04:51 +0100 |
commit | 55a886b6e9bae1986a357626b08522a838aedb3e (patch) | |
tree | fd53e7bbfd00af4ff8fbc82be958de539c247d9e /actionpack/CHANGELOG.md | |
parent | d38c8caa48a732d41c7402a5e71deece4e313559 (diff) | |
download | rails-55a886b6e9bae1986a357626b08522a838aedb3e.tar.gz rails-55a886b6e9bae1986a357626b08522a838aedb3e.tar.bz2 rails-55a886b6e9bae1986a357626b08522a838aedb3e.zip |
backport #8662, charset should not be appended for `head` responses
1) Failure:
test_head_created_with_image_png_content_type(RenderTest) [test/controller/render_test.rb:1238]:
Expected: "image/png"
Actual: "image/png; charset=utf-8"
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 a681a2dc79..2f4e4c3985 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,5 +1,12 @@ ## Rails 3.2.10 (unreleased) ## +* Do not append `charset=` parameter when `head` is called with a + `:content_type` option. + Fix #8661. + Backport #8662. + + *Yves Senn* + * Clear url helper methods when routes are reloaded by removing the methods explicitly rather than just clearing the module because it didn't work properly and could be the source of a memory leak. |