#87814Redirect loop when called with e.g. example.com/index.php?id=1&L=1
Description
Steps to reproduce:
1. Verify your language configuration, see attached lang_config.yaml
2. Verify that the requested page is available in language with corresponding id
3. Call example.com/index.php?id=1&L=1
4. Server returns error (ERR_TOO_MANY_REDIRECTS), url looks like example.com/index.php////////////////////?id=1&L=1