Fix - return to url during login fail when returnurl contains "/"
This commit is contained in:
@ -300,7 +300,7 @@
|
||||
if (user == null)
|
||||
{
|
||||
// redirect to login page
|
||||
NavigationManager.NavigateTo(Utilities.NavigateUrl(alias.Path, "login", "returnurl=" + path));
|
||||
NavigationManager.NavigateTo(Utilities.NavigateUrl(alias.Path, "login", "?returnurl=" + path));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -565,4 +565,4 @@
|
||||
=> RuntimeInformation.IsOSPlatform(OSPlatform.Create("BROWSER"))
|
||||
? Oqtane.Shared.Runtime.WebAssembly
|
||||
: Oqtane.Shared.Runtime.Server;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user