Skip to content

Commit

Permalink
Merge pull request #17365 from abpframework/revert-17060-NormalizeRet…
Browse files Browse the repository at this point in the history
…urnUrl

Revert "Encode `returnUrl` when sending `PasswordReset` email.."
  • Loading branch information
realLiangshiwei authored Aug 14, 2023
2 parents c462ee0 + 905c365 commit 8e2e89b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public virtual async Task SendPasswordResetLinkAsync(

if (!returnUrl.IsNullOrEmpty())
{
link += "&returnUrl=" + UrlEncoder.Default.Encode(NormalizeReturnUrl(returnUrl));
link += "&returnUrl=" + NormalizeReturnUrl(returnUrl);
}

if (!returnUrlHash.IsNullOrEmpty())
Expand Down

0 comments on commit 8e2e89b

Please sign in to comment.