Context
Since a little more than two years, I am maintaining https://vikiansiklopedi.org, a proxy of Wikipedia in many languages first set up in response to the blockade of Wikipedia in Turkey ("vikiansiklopedi" means "wiki-encyclopedia" in Turkish).
The proxy uses Caddy server configured to pass requests to Wikipedia's servers, see the configuration template. I also proxy mobile domains.
See T232188 for additional context.
Steps to reproduce
- Steps:
- Go over to https://en.vikiansiklopedi.org/wiki/Main_Page
- In the navigation menu on the left click on "Random article", i. e. https://en.vikiansiklopedi.org/wiki/Special:Random
- Actual results: You get redirected to a random article on https://en.wikipedia.org, e.g. https://en.wikipedia.org/wiki/Evelyn_Spice_Cherry
- Expected results: You should get a random article on the proxied domain https://en.vikiansiklopedi.org, e. g. https://en.vikiansiklopedi.org/wiki/Evelyn_Spice_Cherry
I could reproduce this bug on multiple browsers and I have no reason to believe this is a client-related issue, nor I think this is a configuration issue of my proxy.