Skip to content

Commit 78903e4

Browse files
committed
url encode fromMarketing
1 parent e7fa519 commit 78903e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/Platform/Mail/HandlebarsMailService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public async Task SendRegistrationVerificationEmailAsync(string email, string to
8787
Email = WebUtility.UrlEncode(email),
8888
WebVaultUrl = _globalSettings.BaseServiceUri.Vault,
8989
SiteName = _globalSettings.SiteName,
90-
FromMarketing = fromMarketing,
90+
FromMarketing = WebUtility.UrlEncode(fromMarketing),
9191
};
9292
await AddMessageContentAsync(message, "Auth.RegistrationVerifyEmail", model);
9393
message.MetaData.Add("SendGridBypassListManagement", true);

0 commit comments

Comments
 (0)