mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 20:50:21 -05:00
[pm-10860] Fix provider name encoding issue. (#5244)
Prevent double encoding, as Handlebars encode strings by default.
This commit is contained in:
parent
45d2c5315d
commit
904692a9b6
@ -863,7 +863,7 @@ public class HandlebarsMailService : IMailService
|
||||
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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user