Visual RFC.
ALL RFCs / RFC 2387
Read the RFC ↗
RFC 2387 / COMPOUND MIME OBJECTS

Preserve mappings, nesting and content safety

05

Passing and storing a compound object requires the relationships between its parts, not only their body bytes.

RFC 2387 · § 6.1EXAMPLE
4 / 4
Preserve mappings, nesting and content safetyThe application still treats content and filenames as untrusted data. Related packaging and a successful part lookup do not authenticate the sender, sanitize HTML or authorize external resource loading.Preserve mappings, nesting and content safetyRelated packageHTML / image bodies / auxiliary valuesAll remain untrusted inputunderlying application handlingApplication-specific safety boundaryPackaging ≠ sender authenticationLookup ≠ content sanitizationFilenames and values are data, not authorityStorage, recursive handling and safety belong to the application
04
Apply the underlying type’s safety rules

The application still treats content and filenames as untrusted data. Related packaging and a successful part lookup do not authenticate the sender, sanitize HTML or authorize external resource loading.

Source for this drawing: RFC 2387 · Read RFC section 6.1 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

The application receives entity bodies and Content-* headers, container parameters, and correspondence between local filenames, header data and Content-IDs when present.

  • The application receives entity bodies and Content-* headers, container parameters, and correspondence between local filenames, header data and Content-IDs when present.
  • Internal links may need application or receiving-agent processing when stored. Enclosed Multipart/Related entities are processed as though being stored; nesting is not permission to flatten or discard mappings.
  • Security considerations are those of the underlying content type. Related packaging provides neither sender authentication nor a guarantee that HTML, images, filenames or auxiliary data are safe.
DETAILS

Fictional .example identifiers and omitted payloads. These are simplified illustrations, not complete importable messages or a full MIME parser.

Read the RFC section ↗

All chapters in RFC 2387

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗