Ok, but are you sure this the same problem as in bug? Querystring is not mentioned there, just redirect between example.com and example.com/se if I understand correct(?)
My domain looks like this on channel, we are using url prefix for se
Seems I did a poor job of reading the bug description.
This would be a different bug then. Could you please report it on Docs?
I tested on both 7.1 and 7.2.3 and the redirect doesn’t work with querystrings if you use a prefix on the domain.
If you check the file log, you should have a row that starts with Check url-redirects for: (logged with trace severity). Is that row containing the correct url that it should look after?