Closed Bug 2068939 Opened 2 months ago Closed 2 months ago

Remove unused remnants of the old attachment box in libmime including message/external-body

Categories

(MailNews Core :: MIME, task)

Desktop
All
task

Tracking

(Not tracked)

RESOLVED FIXED
157 Branch

People

(Reporter: maxe, Assigned: maxe)

References

Details

Attachments

(1 external file)

While trying to optimise pointers in bug 2068760, I came accross such a large chunk of code that has been sitting there entirely unused since 1999.

Some of it may appear to be RFC-compliant, namely message/external-body recognised in RFC 2017 as well as RFC 2046 . It sounded nice on paper but was in practice a security nightmare and is not in use anymore anywhere.

It does not make sense to try and improve unreachable code, removing it entirely makes much more sentence after ~27 years.

If anyone is morbidly curious, here are the old commits:

I may add to this list later, certainly non-exhaustive.

Target Milestone: --- → 157 Branch

Pushed by edicharry@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ec61d5e44967
Remove unused remnants of the old attachment box in libmime including message/external-body. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Depends on: 2073241
Blocks: 2073241
No longer depends on: 2073241
Blocks: 2073238
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: