mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 17:23:04 +03:00
[PR #900] Fix escaping of SMTP_AUTH_MECHANISM in .env.template #3611
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/dani-garcia/vaultwarden/pull/900
State: closed
Merged: No
Correctly escapes the quotation marks of the
SMTP_AUTH_MECHANISMvariable in.env.template.The file is sourced by the shell and swallows the simple quotation marks.
However, we need a proper JSON value, that is, it has to have quotation marks.
Otherwise, we get the error
This is fixed by adding escaped quotation marks.