Browse Source

Merge pull request #17365 from abpframework/revert-17060-NormalizeReturnUrl

Revert "Encode `returnUrl` when sending `PasswordReset` email.."
pull/17372/head
liangshiwei 3 years ago
committed by GitHub
parent
commit
8e2e89b6ac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/Emailing/AccountEmailer.cs

2
modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/Emailing/AccountEmailer.cs

@ -53,7 +53,7 @@ public class AccountEmailer : IAccountEmailer, ITransientDependency
if (!returnUrl.IsNullOrEmpty())
{
link += "&returnUrl=" + UrlEncoder.Default.Encode(NormalizeReturnUrl(returnUrl));
link += "&returnUrl=" + NormalizeReturnUrl(returnUrl);
}
if (!returnUrlHash.IsNullOrEmpty())

Loading…
Cancel
Save