getsentry / getsentry/sentry

Plaintext emails rendered from templates contain escaping

Open
#76,475 5 comments 0 reactions 1 assignee Claimed by @keeakita View on GitHub
Bug Component: Notifications Product Area: Other
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.