Browse Source

Encode `returnUrl` when sending `PasswordReset` email..

Resolve #17044
pull/17060/head
maliming 3 years ago
parent
commit
94d0d6a521
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  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