Feature request: opt-in degradation policy for unresolved quoted inline-image CID references
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.4k
- Forks
- 697
- Avg merge
- 15h 39m
- Merged PRs (30d)
- 89
Description
Gog v0.39.1 intentionally rejects quoted replies when an inline-image cid: reference has no matching MIME part. This request preserves that fail-closed default.
Would you consider an explicit, opt-in composition policy for this narrowly defined condition: an otherwise valid quoted message contains an inline-image cid: reference with no matching MIME part?
When that condition is unambiguous, the policy could:
- replace the unresolved
cid:reference in the quoted rendering with a visible placeholder; - preserve quoted text and valid inline resources;
- otherwise preserve normal reply composition semantics;
- report that degradation occurred, ideally in machine-readable output.
For example, a synthetic source contains:
<p>Example message.</p>
<img src="cid:missing@example.test">
…with no matching Content-ID MIME part.
Our intended use case is producing reviewable drafts. The calling workflow would interpret the degradation report and require human review; GOGCLI would not need to manage that workflow.
This is not a request for general MIME repair. Ambiguous or structurally malformed MIME would continue to fail closed, and default behavior would remain unchanged. We leave placement of the policy within the composition/draft/send architecture to the maintainers.
Would this fit the project’s direction, and what detection, preservation and reporting constraints would you require?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace the composition, draft, and send architecture and locate handling for unresolved quoted inline-image CID references. Done means an explicit opt-in policy replaces only unambiguous missing references with visible placeholders, preserves quoted text and valid resources, reports degradation in machine-readable output, and leaves default and malformed-MIME behavior unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100