mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1cda4fb5df
Purpose metadata prevents cookie values from being copy-pasted and ensures that the cookie is used only for its originally intended purpose. The Purpose and Expiry metadata are embedded inside signed/encrypted cookies and will not be readable on previous versions of Rails. We can switch off purpose and expiry metadata embedded in signed and encrypted cookies using config.action_dispatch.use_cookies_with_metadata = false if you want your cookies to be readable on older versions of Rails. |
||
---|---|---|
.. | ||
cache_test.rb | ||
cookies_test.rb | ||
exceptions_test.rb | ||
remote_ip_test.rb | ||
sendfile_test.rb | ||
session_test.rb | ||
static_test.rb |