mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-13 23:57:13 +00:00
a47b484172
Ever since we changed to pass the full url as a template value handlebars now html-encodes this. This causes issues with the plain/text mails, but it also could potentially cause issues with the text/html templates. This PR encloses the template values inside triple braces `{{{ }}}` which prevents html-encoding. Since the URL is generated via the `url` crate the values are percent-encoded anyway. Fixes #5097 Signed-off-by: BlackDex <black.dex@gmail.com> |
||
---|---|---|
.. | ||
api | ||
db | ||
static | ||
auth.rs | ||
config.rs | ||
crypto.rs | ||
error.rs | ||
http_client.rs | ||
mail.rs | ||
main.rs | ||
ratelimit.rs | ||
util.rs |