Skip to content

Commit 5e737c2

Browse files
authored
Merge pull request #73 from abhilash1985/feature/rails7_upgrade
fixed security vulnerability
2 parents 54bbfe2 + b067372 commit 5e737c2

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)