discourse/config
Osama Sayegh d15867463f
FEATURE: Site setting for blocking onebox of URLs that redirect (#16881)
Meta topic: https://meta.discourse.org/t/prevent-to-linkify-when-there-is-a-redirect/226964/2?u=osama.

This commit adds a new site setting `block_onebox_on_redirect` (default off) for blocking oneboxes (full and inline) of URLs that redirect. Note that an initial http → https redirect is still allowed if the redirect location is identical to the source (minus the scheme of course). For example, if a user includes a link to `http://example.com/page` and the link resolves to `https://example.com/page`, then the link will onebox (assuming it can be oneboxed) even if the setting is enabled. The reason for this is a user may type out a URL (i.e. the URL is short and memorizable) with http and since a lot of sites support TLS with http traffic automatically redirected to https, so we should still allow the URL to onebox.
2022-05-23 13:52:06 +03:00
..
cloud/cloud66
environments
initializers DEV: Use new defaults for ActiveSupport::Digest 2022-05-18 16:51:07 +02:00
locales FEATURE: Site setting for blocking onebox of URLs that redirect (#16881) 2022-05-23 13:52:06 +03:00
application.rb DEV: Fix production sourcemaps with Ember CLI (#16707) 2022-05-11 10:23:32 +01:00
boot.rb
cdn.yml.sample
database.yml
deploy.rb.sample
dev_defaults.yml DEV: Fix typos and outdated comments (#16614) 2022-05-04 14:12:18 +08:00
discourse_defaults.conf DEV: Remove RTLit gem (#16620) 2022-05-04 14:11:12 +08:00
discourse.config.sample
discourse.pill.sample
environment.rb DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
logrotate.conf
multisite.yml.production-sample
nginx.global.conf
nginx.sample.conf
projections.json
puma.rb
routes.rb Update wordpress scopes and add `session/scopes` endpoint (#15366) 2022-05-02 12:15:32 -03:00
sidekiq.yml
site_settings.yml FEATURE: Site setting for blocking onebox of URLs that redirect (#16881) 2022-05-23 13:52:06 +03:00
spring.rb
thin.yml.sample
unicorn_launcher
unicorn_upstart.conf
unicorn.conf.rb DEV: Avoid $ globals (#15453) 2022-01-08 23:39:46 +01:00