diff options
author | Andrew White <andrew.white@unboxed.co> | 2018-10-22 17:15:33 +0100 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2018-10-22 17:16:52 +0100 |
commit | a150a026591b7b9dcaba5a2ef5fce02f7d990aba (patch) | |
tree | 52a5dc9b0be1bf671bc471936d6d3fc60f28baef /RAILS_VERSION | |
parent | ed91b75c937805cb52b3930f2549b7a179cdc421 (diff) | |
download | rails-a150a026591b7b9dcaba5a2ef5fce02f7d990aba.tar.gz rails-a150a026591b7b9dcaba5a2ef5fce02f7d990aba.tar.bz2 rails-a150a026591b7b9dcaba5a2ef5fce02f7d990aba.zip |
Use request object for context if there's no controller
There is no controller instance when using a redirect route or a
mounted rack application so pass the request object as the context
when resolving dynamic CSP sources in this scenario.
Fixes #34200.
Diffstat (limited to 'RAILS_VERSION')
0 files changed, 0 insertions, 0 deletions