Skip to content

Commit bc1812e

Browse files
authored
Merge pull request #2487 from mroderick/fix/cookie-serializer-json
fix(security): migrate cookie serializer from :hybrid to :json
2 parents 985c10d + 9164a48 commit bc1812e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/initializers/cookies_serializer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# Specify a serializer for the signed and encrypted cookie jars.
44
# Valid options are :json, :marshal, and :hybrid.
5-
Rails.application.config.action_dispatch.cookies_serializer = :hybrid
5+
Rails.application.config.action_dispatch.cookies_serializer = :json

0 commit comments

Comments
 (0)