Skip to content

Commit

Permalink
[pm-10860] Fix provider name encoding issue. (#5244)
Browse files Browse the repository at this point in the history
Prevent double encoding, as Handlebars encode strings by default.
  • Loading branch information
JimmyVo16 authored Jan 10, 2025
1 parent 45d2c53 commit 904692a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Services/Implementations/HandlebarsMailService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ public async Task SendProviderInviteEmailAsync(string providerName, ProviderUser
var message = CreateDefaultMessage($"Join {providerName}", email);
var model = new ProviderUserInvitedViewModel
{
ProviderName = CoreHelpers.SanitizeForEmail(providerName),
ProviderName = CoreHelpers.SanitizeForEmail(providerName, false),
Email = WebUtility.UrlEncode(providerUser.Email),
ProviderId = providerUser.ProviderId.ToString(),
ProviderUserId = providerUser.Id.ToString(),
Expand Down

0 comments on commit 904692a

Please sign in to comment.