I think this commit has broken the ability to host a Discourse forum on a Tor .onion service.
After logging in via .onion, the user is redirected back to the ‘clearnet’ domain.
I realise it’s a security fix, but in some jurisdictions, redirecting the user away from the Tor network could place them in danger. I know it’s a niche thing to be concerned about, but the danger is very real for some people.
Is there any way Discourse can accept a whitelist of domains to be used on as opposed to just one? The way it was worked without a problem for hosting Discourse on a clear net domain as well as an .onion alternative, until now.