Browse Source

Merge pull request #17060 from abpframework/NormalizeReturnUrl

Encode `returnUrl` when sending `PasswordReset` email..
pull/17099/head
liangshiwei 3 years ago
committed by GitHub
parent
commit
49e8beaee7
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=" + NormalizeReturnUrl(returnUrl);
link += "&returnUrl=" + UrlEncoder.Default.Encode(NormalizeReturnUrl(returnUrl));
}
if (!returnUrlHash.IsNullOrEmpty())

Loading…
Cancel
Save