- Issue created by @menteb
- πΈπͺSweden enzipher
Hi, thanks for the report.
That is an interesting edge case. I suppose some kind of top-domain exclusion could be added, but I'm not convinced the featured would have enough usage to validate the implementation.
I will think about this some more. What you can do in the meantime is to programmatically disable redirects for the .onion top domain. Programmatically setting any of the following module settings would allow for http traffic.
* Set 'enabled' to false - disables all redirects
* Set 'bypass httpswww redirect' permission to true - disables all redirects
* Set 'scheme' to mixed - disables https redirectThis is untested example code, but something like this in settings.php should work:
if (str_ends_with($_SERVER['HTTP_HOST'], '.onion')) { $config['httpswww.settings']['enabled'] = FALSE; }
Cheers,
- Status changed to Fixed
11 months ago 12:25pm 1 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.