aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2016-02-26 03:06:38 +1030
committerMatthew Draper <matthew@trebex.net>2016-02-26 03:06:38 +1030
commit6216a092ccfe6422f113db906a52fe8ffdafdbe6 (patch)
tree7f6fe35ff8f02185aeb9f2c8184665eb44bda81f /actionpack/lib/action_controller
parent1f8ce32edcce503490aa873dd49788c6fd79c135 (diff)
downloadrails-6216a092ccfe6422f113db906a52fe8ffdafdbe6.tar.gz
rails-6216a092ccfe6422f113db906a52fe8ffdafdbe6.tar.bz2
rails-6216a092ccfe6422f113db906a52fe8ffdafdbe6.zip
Revert "Update Session to utilize indiffernt access"
This reverts commit 45a75a3fcc96b22954caf69be2df4e302b134d7a. HWIAs are better than silently deeply-stringified hashes... but that's a reaction to a shortcoming of one particular session store: we should not break the basic behaviour of other, more featureful, session stores in the process. Fixes #23884
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/test_case.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb
index 6548ce326b..700317614f 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -176,7 +176,7 @@ module ActionController
def initialize(session = {})
super(nil, nil)
@id = SecureRandom.hex(16)
- @data = session.with_indifferent_access
+ @data = stringify_keys(session)
@loaded = true
end