[BUGFIX] Avoid double encoding of routes