rails/actionpack/lib
Bradley Buda 69fc0e1b5e Auth token mask from breach-mitigation-rails gem
This merges in the code from the breach-mitigation-rails gem that masks
authenticity tokens on each request by XORing them with a random set of
bytes. The masking is used to make it impossible for an attacker to
steal a CSRF token from an SSL session by using techniques like the
BREACH attack.

The patch is pretty simple - I've copied over the [relevant
code](https://github.com/meldium/breach-mitigation-rails/blob/master/lib/breach_mitigation/masking_secrets.rb)
and updated the tests to pass, mostly by adjusting stubs and mocks.
2014-08-19 15:28:07 -07:00
..
abstract_controller remove deprecated MissingHelperError proxy. 2014-08-14 09:37:21 +02:00
action_controller Auth token mask from breach-mitigation-rails gem 2014-08-19 15:28:07 -07:00
action_dispatch extract methods and metaprogram less. 2014-08-14 10:23:28 -07:00
action_pack Introduce Rails.gem_version 2014-03-05 12:37:38 -05:00
abstract_controller.rb No need for .rb extension 2013-08-25 11:39:09 +02:00
action_controller.rb Remove deprecated cattr_* requires 2013-12-03 00:28:15 +02:00
action_dispatch.rb ActionDispatch::Head was replaced by Rack::Head. Closes #14191. 2014-02-25 11:20:12 +01:00
action_pack.rb update copyright notices to 2014. [ci skip] 2014-01-01 23:59:49 +05:30