Skip to content

Commit

Permalink
Merge pull request #4052 from zyhfish/task/fix-issue-4051
Browse files Browse the repository at this point in the history
Fix #4051: set the return url correctly.
  • Loading branch information
sbwalker authored Mar 23, 2024
2 parents 6e7ce10 + 6fde3f8 commit 8631eac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Oqtane.Client/Themes/Controls/Theme/UserProfile.razor
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
if (!PageState.QueryString.ContainsKey("returnurl"))
{
// remember current url
_returnurl += WebUtility.UrlEncode(PageState.Route.PathAndQuery);
_returnurl = WebUtility.UrlEncode(PageState.Route.PathAndQuery);
}
else
{
// use existing value
_returnurl += PageState.QueryString["returnurl"];
_returnurl = PageState.QueryString["returnurl"];
}
}
}
Expand Down

0 comments on commit 8631eac

Please sign in to comment.