getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.56k stars 4.13k forks source link

Plaintext emails rendered from templates contain escaping #76475

Open keeakita opened 3 weeks ago

keeakita commented 3 weeks ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Send any email using a text (not HTML) template, where one of the context variables being rendered contains special characters (&,<,>,',etc)

Expected Result

  1. Email renders as straightforward plaintext without any form of escaping

Actual Result

Email is rendered with inappropriate escaping that's not needed

Product Area

Other

Link

No response

DSN

No response

Version

No response

getsantry[bot] commented 3 weeks ago

Routing to @getsentry/product-owners-other for triage ⏲️

keeakita commented 3 weeks ago

Y'know, I thought I could solve this in some fairly generic way, but this API is really painful. The options: