1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
Godfrey Chan 2a412b3d6f Fixed an issue with migrating legacy json cookies.
Previously, the `VerifyAndUpgradeLegacySignedMessage` assumes all incoming
cookies are marshal-encoded. This is not the case when `secret_token` is
used in conjunction with the `:json` or `:hybrid` serializer.

In those case, when upgrading to use `secret_key_base`, this would cause a
`TypeError: incompatible marshal file format` and a 500 error for the user.

Fixes #14774.

*Godfrey Chan*
2014-04-23 12:32:14 -05:00
..
abstract Action Pack Variants 2013-12-04 00:13:16 +01:00
assertions Change all MiniTest to Minitest since, MiniTest namespace has been renamed to Minitest 2013-12-18 14:39:50 +05:30
controller Remove wrapper div for inputs in button_to 2014-04-17 16:15:43 -03:00
dispatch Fixed an issue with migrating legacy json cookies. 2014-04-23 12:32:14 -05:00
fixtures Ensure LookupContext in Digestor selects correct variant 2014-03-09 08:47:17 +01:00
journey Make URL escaping more consistent 2014-04-20 10:11:38 +01:00
lib/controller Eliminate JSON.{parse,load,generate,dump} and def to_json 2013-11-05 22:26:45 -08:00
routing Fix failing test missed for the past year :( 2013-07-17 08:56:34 +01:00
tmp
abstract_unit.rb standardize on jruby_skip & rbx_skip 2014-01-13 19:51:47 +05:30