rails/actionpack/lib
Jonathan Hefner 1704be74ee Strict match when choosing cookie domain for host
Prior to this commit, when multiple cookie domains were specified, the
first domain that was a substring of the request host was chosen.  This
allowed, for example, the "example.com" domain to be chosen when the
request host was "example.com.au" or even "myexample.com".

This commit ensures a domain is chosen only if it is equal to or is a
superdomain of the request host.

Fixes #37760.
2020-06-10 02:17:39 -05:00
..
abstract_controller Update rubocop-performance gem and enable Performance/DeletePrefix and Performance/DeleteSuffix cops 2020-05-24 12:51:35 +03:00
action_controller Merge pull request #39477 from p8/improve-inspect 2020-06-03 10:43:35 -07:00
action_dispatch Strict match when choosing cookie domain for host 2020-06-10 02:17:39 -05:00
action_pack Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
abstract_controller.rb Make sure to require active_support.rb before requiring active_support/rails.rb 2019-07-12 18:30:58 +09:00
action_controller.rb Remove deprecated force_ssl at the controller level. 2020-05-05 00:58:54 -04:00
action_dispatch.rb Clear cache after setting Template::Types delegate 2020-05-21 22:43:13 -07:00
action_pack.rb Bump license years from 2019 to 2020 [ci skip] 2020-01-01 15:10:31 +05:30