vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit a447e4e7efba3089525dad45d8ee9f7fe2a2b1dc
parent 4eee6e7aee0ce4fce8eaebc877999cde6670ddc7
Author: Jeremy Lin <jeremy.lin@gmail.com>
Date:   Fri, 29 May 2020 23:25:18 -0700

Don't HTML-escape email subject lines

For example, this causes org names like `X&Y` to appear as `X&amp;Y`.

Diffstat:
Msrc/static/templates/email/invite_accepted.hbs | 2+-
Msrc/static/templates/email/invite_accepted.html.hbs | 2+-
Msrc/static/templates/email/invite_confirmed.hbs | 2+-
Msrc/static/templates/email/invite_confirmed.html.hbs | 2+-
Msrc/static/templates/email/new_device_logged_in.hbs | 2+-
Msrc/static/templates/email/new_device_logged_in.html.hbs | 2+-
Msrc/static/templates/email/send_org_invite.hbs | 2+-
Msrc/static/templates/email/send_org_invite.html.hbs | 2+-
8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/static/templates/email/invite_accepted.hbs b/src/static/templates/email/invite_accepted.hbs @@ -1,4 +1,4 @@ -Invitation accepted +Invitation to {{{org_name}}} accepted <!----------------> <html> <p> diff --git a/src/static/templates/email/invite_accepted.html.hbs b/src/static/templates/email/invite_accepted.html.hbs @@ -1,4 +1,4 @@ -Invitation accepted +Invitation to {{{org_name}}} accepted <!----------------> <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;"> <head> diff --git a/src/static/templates/email/invite_confirmed.hbs b/src/static/templates/email/invite_confirmed.hbs @@ -1,4 +1,4 @@ -Invitation to {{org_name}} confirmed +Invitation to {{{org_name}}} confirmed <!----------------> <html> <p> diff --git a/src/static/templates/email/invite_confirmed.html.hbs b/src/static/templates/email/invite_confirmed.html.hbs @@ -1,4 +1,4 @@ -Invitation to {{org_name}} confirmed +Invitation to {{{org_name}}} confirmed <!----------------> <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;"> <head> diff --git a/src/static/templates/email/new_device_logged_in.hbs b/src/static/templates/email/new_device_logged_in.hbs @@ -1,4 +1,4 @@ -New Device Logged In From {{device}} +New Device Logged In From {{{device}}} <!----------------> <html> <p> diff --git a/src/static/templates/email/new_device_logged_in.html.hbs b/src/static/templates/email/new_device_logged_in.html.hbs @@ -1,4 +1,4 @@ -New Device Logged In From {{device}} +New Device Logged In From {{{device}}} <!----------------> <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;"> <head> diff --git a/src/static/templates/email/send_org_invite.hbs b/src/static/templates/email/send_org_invite.hbs @@ -1,4 +1,4 @@ -Join {{org_name}} +Join {{{org_name}}} <!----------------> <html> <p> diff --git a/src/static/templates/email/send_org_invite.html.hbs b/src/static/templates/email/send_org_invite.html.hbs @@ -1,4 +1,4 @@ -Join {{org_name}} +Join {{{org_name}}} <!----------------> <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;"> <head>