mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:03:45 +08:00
38abc0d922
Why this change? This is part of our efforts to harden the security of the Discourse application. Setting the `CROSS_ORIGIN_OPENER_POLICY` header to `same-origin-allow-popups` by default makes the application safer. We have opted to make this a hidden site setting because most admins will never have to care about this setting so we're are opting not to show it. If they do have to change it, they can still do so by setting the `DISCOURSE_CROSS_ORIGIN_OPENER_POLICY` env. |
||
---|---|---|
.. | ||
cloud/cloud66 | ||
environments | ||
initializers | ||
locales | ||
application.rb | ||
boot.rb | ||
cdn.yml.sample | ||
database.yml | ||
deploy.rb.sample | ||
dev_defaults.yml | ||
discourse_defaults.conf | ||
discourse.config.sample | ||
discourse.pill.sample | ||
environment.rb | ||
logrotate.conf | ||
multisite.yml.production-sample | ||
nginx.global.conf | ||
nginx.sample.conf | ||
projections.json | ||
puma.rb | ||
routes.rb | ||
sidekiq.yml | ||
site_settings.yml | ||
spring.rb | ||
thin.yml.sample | ||
unicorn_launcher | ||
unicorn_upstart.conf | ||
unicorn.conf.rb |