mirror of
https://git.sr.ht/~rjarry/aerc
synced 2026-06-21 15:37:34 +02:00
c0d3d615fb
In the previous template, having a body with no signature causes the body to be inserted directly after the headers, causing it to be interpreted as a header itself. This could be a security concern, as a malicious mailto link could try to set arbitrary mail headers. From a usability vantage point, it causes the first line of the body to not be visible or editable as part of the body. Multiple body parts are now joined with CRLF. The body is now available in TemplateData, and is inserted above the signature rather than below it. Signed-off-by: Taylor C. Richberger <taylor@axfive.net> Acked-by: Robin Jarry <robin@jarry.cc>