Tag keys like os.name are auto-linked as domains in issue alert emails

Open Beginner friendly
#129,182 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@ashrafulX is already working on this.

Since Nov 5, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
django, python
Domain
backend

Research direction

Find the issue alert email templates or rendering code that produces the Tags section in both HTML and plain text, then trace how tag keys are escaped or formatted. Check the relevant email tests and add coverage for keys such as os.name and runtime.name; done means mail clients display those keys as plain text in both versions.

Written by the indexing model from the issue text.

Description

Environment

SaaS (https://sentry.io/)

Steps to Reproduce
  1. Set up an issue alert that sends emails, for a project whose events carry OS and runtime context. For example, the Node SDK sets the os.name and runtime.name tags.
  2. Trigger the alert and open the email in Gmail. Other clients that turn domain-like text into links do the same.
  3. Look at the Tags section.
Expected Result

Tag keys are shown as plain text.

Actual Result

The tag keys os.name and runtime.name show up as clickable links to http://os.name and http://runtime.name. .name is a valid top-level domain, so the mail client treats the keys as domain names. This happens in the HTML version (<strong>os.name</strong>) and in the plain-text version (* os.name = Debian).

Image
Product Area

Alerts

Link

No response

DSN

No response

Version

No response

Dominant language
Python
Stars
45.7k
Forks
5k
Avg merge
1d 1h
Merged PRs (30d)
642

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry

All issues in getsentry/sentry

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.