Repository navigation
Bug 2097284 - Add a flag identifier to the subject line of emails where you are being requested for something such as needinfo, etc. - #2840
Merged
Conversation
…re you are being requested for something such as needinfo, etc.
dklawren
requested review from
Xzzz and
cgsheeh
and
a balanced review from Copilot
November 24, 2026 17:02
There was a problem hiding this comment.
🟡 Changes recommended
Prepending flag text breaks bug-ID parsing in the Splinter and TagNewUsers hooks, removing attachment review links from affected notifications and potentially suppressing first-patch headers.
1 open issue
What changed in this PR
This PR makes recipient-specific flag requests and answers easier to identify in Bugzilla notification subjects.
Changes:
- Prefixes subjects with the flag name and its requested, granted, denied, or cleared status.
- Adds tests for requestee and requester subjects, while checking that flag-type CC recipients retain the standard subject.
| File | Description |
|---|---|
template/en/default/email/bugmail-header.txt.tmpl |
Adds a subject prefix for the recipient’s first relevant flag event. |
t/bmo/bugmail-flag-events.t |
Tests subject formatting for flag requests, answers, and CC recipients. |
Review effort: Balanced
Xzzz
approved these changes
Nov 24, 2026
Xzzz
left a comment
Collaborator
There was a problem hiding this comment.
All is good for me, thanks Dave! :)
There was a problem hiding this comment.
🔵 Needs a closer look
Human assessment is needed because a non-ASCII flag name can trigger MIME encoding that bypasses Subject sanitization, exposing a confidential summary in an unencrypted header despite the message being marked secured.
No open issues 🎉
Review effort: Balanced
cgsheeh
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


No description provided.