You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/config
Ben Lubar 13e049d772 Allow cross-origin requests to /.well-known/* URLs. (#9083)
Right now, this includes three endpoints: host-meta, webfinger, and change-password.

host-meta and webfinger are publicly available and do not use any authentication. Nothing bad can be done by accessing them in a user's browser.

change-password being CORS-enabled will only reveal the URL it redirects to (which is /auth/edit) but not anything about the actual /auth/edit page, because it does not have CORS enabled.

The documentation for hosting an instance on a different domain should also be updated to point out that Access-Control-Allow-Origin: * should be set at a minimum for the /.well-known/host-meta redirect to allow browser-based non-proxied instance discovery.
7 years ago
..
environments Fix missing protocol in dns-prefetch, improve code style (#8963) 7 years ago
initializers Allow cross-origin requests to /.well-known/* URLs. (#9083) 7 years ago
locales Add consistent interpolations check to CircleCI (#9072) 7 years ago
webpack Improve production build config (#8899) 7 years ago
application.rb Add Czech language option and locale data (#8594) 7 years ago
boot.rb Lint pass (#8876) 7 years ago
brakeman.ignore Add animate custom emoji param to embed pages (#8507) 7 years ago
database.yml use-DB_NAME-in-development (#5430) 8 years ago
deploy.rb Update dependencies for Ruby (2018-04-23) (#7237) 7 years ago
environment.rb Make PreviewCard records reuseable between statuses (#4642) 8 years ago
i18n-tasks.yml Revert #6479, hide sensitive text/images from OpenGraph previews (#6818) 7 years ago
navigation.rb Revert Font Awesome 5 upgrade (#8810) 7 years ago
puma.rb lint pass 2 (#8878) 7 years ago
routes.rb Add unread indicator to conversations (#9009) 7 years ago
secrets.yml Upgrade to Rails 5.0.0.1 9 years ago
settings.yml Add a new preference to always hide all media (#8569) 7 years ago
sidekiq.yml Track historical space stats in PgHero to determine PostgreSQL growth (#8906) 7 years ago
themes.yml More polished light theme (#7620) 7 years ago
webpacker.yml Fix building assets in test environment (#8691) 7 years ago