]> cat aescling's git repositories - mastodon.git/commit
Set Content-Security-Policy rules through RoR's config (#8957)
authorThibG <thib@sitedethib.com>
Thu, 11 Oct 2018 18:35:46 +0000 (20:35 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 11 Oct 2018 18:35:46 +0000 (20:35 +0200)
commit2d27c110610a848d30fe150c58bbd60ebf6fab7c
tree3121a45cd249fd477cee659a51a655a02404688d
parent9ece873d62a483abd86221fb9780ed4f65243e96
Set Content-Security-Policy rules through RoR's config (#8957)

* Set CSP rules in RoR's configuration

* Override CSP setting in the embed controller to allow frames
app/controllers/statuses_controller.rb
config/initializers/1_hosts.rb [moved from config/initializers/ostatus.rb with 100% similarity]
config/initializers/content_security_policy.rb