diff options
author | maximerety <maxime.rety@gmail.com> | 2013-03-04 16:41:07 +0100 |
---|---|---|
committer | maximerety <maxime.rety@gmail.com> | 2013-03-05 12:53:10 +0100 |
commit | d0f22a99f9f24d07990e02da55ed937c98d41e03 (patch) | |
tree | 16b27e530bb780805ff0ba69ae3621a0c1d8b534 /actionpack/CHANGELOG.md | |
parent | 927e649bc9dc5740285e4b4e9899421c2bbfefbe (diff) | |
download | rails-d0f22a99f9f24d07990e02da55ed937c98d41e03.tar.gz rails-d0f22a99f9f24d07990e02da55ed937c98d41e03.tar.bz2 rails-d0f22a99f9f24d07990e02da55ed937c98d41e03.zip |
Backport fixes about #7774 to 3-2-stable
Fix ActionDispatch::Request#formats when HTTP_ACCEPT header is an empty
string.
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 8fac6647df..3c091de280 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,5 +1,10 @@ ## unreleased ## +* Fix `ActionDispatch::Request#formats` when the Accept request-header is an + empty string. Fix #7774 [Backport #8977, #9541] + + *Soylent + Maxime Réty* + * Determine the controller#action from only the matched path when using the shorthand syntax. Previously the complete path was used, which led to problems with nesting (scopes and namespaces). |