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.
2018-10-25 03:13:35 +02:00
..
2018-01-16 03:29:11 +01:00
2016-02-20 22:53:20 +01:00
2016-08-17 17:58:00 +02:00
2017-04-22 19:48:55 +02:00
2018-10-09 03:02:52 +02:00
2018-10-04 17:38:04 +02:00
2017-08-08 21:52:15 +02:00
2017-12-06 15:04:49 +09:00
2018-10-04 17:38:04 +02:00
2017-04-11 01:11:41 +02:00
2018-10-04 17:38:04 +02:00
2018-10-04 17:38:04 +02:00
2016-12-06 17:19:26 +01:00
2017-01-22 23:07:31 +01:00
2018-10-04 12:36:53 +02:00
2018-10-04 12:36:53 +02:00
2016-08-17 17:58:00 +02:00