1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-22 16:57:36 +01:00

HTML encoding email address when sending trial init email (#4594)

This commit is contained in:
Conner Turnbull 2024-08-06 15:21:04 -04:00 committed by GitHub
parent f49fb3a891
commit 452646be8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,7 +82,7 @@ public class HandlebarsMailService : IMailService
var model = new TrialInitiationVerifyEmail
{
Token = WebUtility.UrlEncode(token),
Email = email,
Email = WebUtility.UrlEncode(email),
WebVaultUrl = _globalSettings.BaseServiceUri.VaultWithHash,
SiteName = _globalSettings.SiteName,
ProductTier = productTier,