Canonical form and safety
05Canonicalization, transfer encoding, and media interpretation are different processing stages.
Decode the transfer form, then interpret the media type safely.
Key idea: Text canonical form uses CRLF line breaks as specified.
Rules & examples
Text canonical form uses CRLF line breaks as specified.
- Text canonical form uses CRLF line breaks as specified.
- A charset converts characters to bytes; transfer encoding converts bytes to transport-safe text.
- Decoders still need safe media handling and appropriate resource limits.
Examples are illustrative. Consult the linked RFC and its errata for implementation details.
Sources
New to this? Start hereA quick picture + helpful background
The envelope and the letter do different jobs.
Mail transport moves a message between servers. The message format describes its contents. Authentication adds checks; it does not make every message safe.
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.