Closed Bug 1734210 Opened 3 years ago Closed 3 years ago

Setting default headers (mail.identity.default.headers) is incorrect if their value contains a colon

Categories

(MailNews Core :: Composition, defect)

Thunderbird 91
defect

Tracking

(thunderbird_esr91+ fixed, thunderbird94+ fixed)

VERIFIED FIXED
95 Branch
Tracking Status
thunderbird_esr91 + fixed
thunderbird94 + fixed

People

(Reporter: infofrommozilla, Assigned: rnons)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Tested with TB91.1.2 and Trunk

STR:

  • Set the prefs (without quotation marks):
    mail.identity.default.headers: "XHeader1"
    mail.identity.default.header.XHeader1: "X-Foo: abc def: ghi"
  • Create a new email or news article
  • Send it or save it as draft
    => check the header: It's truncated at the colon

Set: mailnews.send.jsmodule to false an restart TB and the header will be fine.

Blocks: tb91found
Regressed by: 1211292
Assignee: nobody → remotenonsense
Status: NEW → ASSIGNED
Target Milestone: --- → 95 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/0eb27981969b
Fix sending default custom header value with colons. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Thanks, works fine with the current daily.

Is it worth uplifting?
The bug is not so dramatic. On the other hand, the uplift should also be possible without danger.

Comment on attachment 9244449 [details]
Bug 1734210 - Fix sending default custom header value with colons. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): bug 1211292
User impact if declined: If custom default header value contains colon, it will be clipped when sent
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9244449 - Flags: approval-comm-esr91?
Attachment #9244449 - Flags: approval-comm-beta?

Comment on attachment 9244449 [details]
Bug 1734210 - Fix sending default custom header value with colons. r=mkmelin

[Triage Comment]
Approved for beta

Attachment #9244449 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9244449 [details]
Bug 1734210 - Fix sending default custom header value with colons. r=mkmelin

[Triage Comment]
Approved for esr91

Attachment #9244449 - Flags: approval-comm-esr91? → approval-comm-esr91+

(In reply to Rob Lemley [:rjl] from comment #8)

Thunderbird 91.3.0:

Verified for TB91.3

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: