]> git.openstreetmap.org Git - rails.git/commit
Add support for Content-Security-Policy
authorTom Hughes <tom@compton.nu>
Sun, 26 Feb 2017 19:34:31 +0000 (19:34 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 26 Feb 2017 19:48:13 +0000 (19:48 +0000)
commit40a8e5caf5e5c69d175a90b81528d81d1e4e0964
tree62a63b89f3b8c5fcd01f17b365ed063b99e13a9c
parent8db05481193bfb105c76cda40ea0617b5f10545e
Add support for Content-Security-Policy

Currently this is report only, and disabled unless a report URL has
been set in the application configuration.
.rubocop.yml
Gemfile
Gemfile.lock
app/controllers/application_controller.rb
app/controllers/site_controller.rb
config/example.application.yml
config/initializers/secure_headers.rb [new file with mode: 0644]