Skip to content

Commit b067372

Browse files
author
Abhilash V
committed
fixed security vulnerability
1 parent f485c99 commit b067372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/initializers/new_framework_defaults_7_0.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
# If you have configured the serializer elsewhere, you can remove this.
9393
#
9494
# See https://guides.rubyonrails.org/action_controller_overview.html#cookies for more information.
95-
Rails.application.config.action_dispatch.cookies_serializer = :hybrid
95+
Rails.application.config.action_dispatch.cookies_serializer = :json
9696

9797
# Enable parameter wrapping for JSON.
9898
# Previously this was set in an initializer. It's fine to keep using that initializer if you've customized it.

0 commit comments

Comments
 (0)