Vote #81737
完了Set default protect from forgery true
0%
説明
In Rails 5.2 and later, the default is to raise an exception for invalid CSRF tokens, and there is a configuration for that.
https://github.com/rails/rails/blob/6-1-stable/railties/lib/rails/application/configuration.rb#L123
In Rails 7 and later, the current implementation causes a Deprecation Warning.
journals
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Patch committed, thanks!
--------------------------------------------------------------------------------
related_issues
relates,New,36320,Migrate to Rails 7