- Issue created by @catch
- 🇨🇭Switzerland berdir Switzerland
Checking on / might not be as straight-forward as you think.
Consider language prefixes for example. We remove them in some places, like the current path service. But we also trim other things, like an index.php/ prefix that we explicitly check for an remove later on. I would expect that foo.com/index.php will also have a path of just / but we do want to trigger a redirect for that. But we don't want to do trigger one for foo.com/en.