aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2018-10-22 17:15:33 +0100
committerAndrew White <andrew.white@unboxed.co>2018-10-22 17:16:52 +0100
commita150a026591b7b9dcaba5a2ef5fce02f7d990aba (patch)
tree52a5dc9b0be1bf671bc471936d6d3fc60f28baef /actionpack/lib/action_controller
parented91b75c937805cb52b3930f2549b7a179cdc421 (diff)
downloadrails-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 'actionpack/lib/action_controller')
0 files changed, 0 insertions, 0 deletions