Closed Bug 1905014 Opened 1 year ago Closed 1 year ago

stripEmail fails when email has comment after

Categories

(MailNews Core :: Security: OpenPGP, defect)

defect

Tracking

(thunderbird128 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
thunderbird128 --- fixed

People

(Reporter: mkmelin, Assigned: KaiE)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Per matrix, reading Kai's email on tb-planning results in

2avaScript error: chrome://openpgp/content/modules/funcs.sys.mjs, line 63: Error: Invalid <..> brackets in mail address: "Kai Engert via Thunderbird Planning"
<planning@discuss.thunderbird.net> (Thunderbird)

https://searchfox.org/comm-central/rev/cfb5f868a055ac2a247dd48a5444cfea3c7dd648/mail/extensions/openpgp/content/modules/funcs.sys.mjs#31

This should be using our standard parsing methods instead.

working on it.

Assignee: nobody → kaie
Status: NEW → ASSIGNED
Blocks: 1905398

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b4fc5156df08
Use global code for email name parsing, remove incomplete code from OpenPGP code. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Blocks: tb128found

Comment on attachment 9409958 [details]
Bug 1905014 - Use global code for email name parsing, remove incomplete code from OpenPGP code. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): uncertain
User impact if declined: error on console, incomplete code execution, uncertain failures
Testing completed (on c-c, etc.): yes
Risk to taking this patch (and alternatives if risky): small risk. We're reusing existing common code. Side effects would be limited to OpenPGP code.

Attachment #9409958 - Flags: approval-comm-beta?

[Triage Comment]
Approved for beta

Target Milestone: --- → 129 Branch
Attachment #9409958 - Flags: approval-comm-beta? → approval-comm-beta+

landed on beta before the esr merge.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: