aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/app_base.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2018-01-30 17:50:32 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2018-01-30 17:50:32 -0500
commit39c4a5c40b3abde1d3dee76a3ccdd326f77f60b0 (patch)
tree29cb5fec4fad1e1b348655fcf16a7741cc3367ac /railties/lib/rails/generators/app_base.rb
parent889eb91d5f439eab647fbbef47886c61dc98e4e8 (diff)
downloadrails-39c4a5c40b3abde1d3dee76a3ccdd326f77f60b0.tar.gz
rails-39c4a5c40b3abde1d3dee76a3ccdd326f77f60b0.tar.bz2
rails-39c4a5c40b3abde1d3dee76a3ccdd326f77f60b0.zip
Disable CSP by default
Before this patch, to be able to use webpacker and webconsole we were defining an used default in the script-src policy. White we don't implement the automatic nonce approach defined in https://github.com/rails/rails/issues/31689 it is better to not have any default configuration in Rails 5.2.
Diffstat (limited to 'railties/lib/rails/generators/app_base.rb')
0 files changed, 0 insertions, 0 deletions