diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-09-25 20:28:26 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2017-09-25 20:28:26 +0200 |
commit | 1fa268bfa5667a0e9ddbfda243b5282c023ab9ad (patch) | |
tree | dea9b1142f64c167fce2982e8891988ec2d492d3 /activerecord/lib/active_record/serialization.rb | |
parent | 9befc197f926272abbba5a1ca1323ce4f15ebd10 (diff) | |
download | rails-1fa268bfa5667a0e9ddbfda243b5282c023ab9ad.tar.gz rails-1fa268bfa5667a0e9ddbfda243b5282c023ab9ad.tar.bz2 rails-1fa268bfa5667a0e9ddbfda243b5282c023ab9ad.zip |
Fix cookies/session tests broken after merging key rotation.
Based on, yet closes https://github.com/rails/rails/pull/30708
Fix the session test by properly truncating the legacy encryption
key for cbc encryption. Borrowed straight from 👆.
Fix the cookies test a little differently than the PR. Basically
keep every config within the config block.
[ Michael Coyne & Kasper Timm Hansen ]
Diffstat (limited to 'activerecord/lib/active_record/serialization.rb')
0 files changed, 0 insertions, 0 deletions