1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/application/middleware
Assain 1cda4fb5df Purpose Metadata For Signed And Encrypted Cookies
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.
2018-08-12 21:50:35 +05:30
..
cache_test.rb Remove extra whitespace 2018-01-25 23:32:59 -05:00
cookies_test.rb Purpose Metadata For Signed And Encrypted Cookies 2018-08-12 21:50:35 +05:30
exceptions_test.rb s/an/a/ 2017-11-04 20:11:36 +09:00
remote_ip_test.rb
sendfile_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
session_test.rb Purpose Metadata For Signed And Encrypted Cookies 2018-08-12 21:50:35 +05:30
static_test.rb