Skip to content

Commit

Permalink
Added query params to redirect in HomeController (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
allinox authored Feb 9, 2024
1 parent d5728d3 commit 27c97ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public async Task<IActionResult> Index()
return View();
}

string goToUrl = HttpUtility.UrlEncode($"{_generalSettings.FrontendBaseUrl}{Request.Path}");
string goToUrl = HttpUtility.UrlEncode($"{_generalSettings.FrontendBaseUrl}{Request.Path}{Request.QueryString}");
string redirectUrl = $"{_platformSettings.ApiAuthenticationEndpoint}authentication?goto={goToUrl}";

return Redirect(redirectUrl);
Expand Down

0 comments on commit 27c97ff

Please sign in to comment.