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. |
||
---|---|---|
.. | ||
actions | ||
css | ||
erb | ||
js/assets | ||
rails | ||
test_unit | ||
testing | ||
actions.rb | ||
active_model.rb | ||
app_base.rb | ||
base.rb | ||
erb.rb | ||
generated_attribute.rb | ||
migration.rb | ||
model_helpers.rb | ||
named_base.rb | ||
resource_helpers.rb | ||
test_case.rb | ||
test_unit.rb |