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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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()) |
|
|
if (!returnUrl.IsNullOrEmpty()) |
|
|
{ |
|
|
{ |
|
|
link += "&returnUrl=" + NormalizeReturnUrl(returnUrl); |
|
|
link += "&returnUrl=" + UrlEncoder.Default.Encode(NormalizeReturnUrl(returnUrl)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (!returnUrlHash.IsNullOrEmpty()) |
|
|
if (!returnUrlHash.IsNullOrEmpty()) |
|
|
|