module

ActionDispatch::Cookies::VerifyAndUpgradeLegacySignedMessage

rails latest stable

Module deprecated or moved

This module is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

Passing the ActiveSupport::MessageEncryptor::NullSerializer downstream to the Message{Encryptor,Verifier} allows us to handle the (de)serialization step within the cookie jar, which gives us the opportunity to detect and migrate legacy cookies.

Files

  • actionpack/lib/action_dispatch/middleware/cookies.rb