Re: Mail headers on crack....
Tony Finch <[email protected]> Fri, 15 Feb 2019 12:10:33 +0000
| Newsgroups | gmane.ietf.rfc822 |
|---|---|
| Message-ID | <[email protected]> |
[email protected] <[email protected]> wrote: > > MIME-Version: =?UTF-8?B?MS4w?= > Content-Transfer-Encoding: =?UTF-8?B?OGJpdA==?= > Content-Type: =?UTF-8?B?dGV4dC9wbGFpbjsgY2hhcnNldD1VVEYtOA==?= > Content-Disposition: =?UTF-8?B?aW5saW5l?= > > Ugly as it is, I can't find where in the RFCs it says this is a no-no. Or > is this actually wonky-but-legal? Invalid, because ... RFC 2047 section 5: (1) An 'encoded-word' may replace a 'text' token (as defined by RFC 822) in any Subject or Comments header field, any extension message header field, or any MIME body part field for which the field body is defined as '*text'. An 'encoded-word' may also appear in any user-defined ("X-") message or body part header field. RFC 2045 section 4: version := "MIME-Version" ":" 1*DIGIT "." 1*DIGIT RFC 2045 section 6.1: encoding := "Content-Transfer-Encoding" ":" mechanism mechanism := "7bit" / "8bit" / "binary" / "quoted-printable" / "base64" / ietf-token / x-token RFC 2045 section 5.1: content := "Content-Type" ":" type "/" subtype *(";" parameter) ; Matching of media type and subtype ; is ALWAYS case-insensitive. RFC 2183 section 2: disposition := "Content-Disposition" ":" disposition-type *(";" disposition-parm) Tony. -- f.anthony.n.finch <[email protected]> http://dotat.at/ Great Orme Head to the Mull of Galloway: South or southeast 5 or 6, veering south or southwest 6 or 7, decreasing 4 or 5 later. Moderate, occasionally rough. Occasional drizzle. Moderate or good, occasionally poor. _______________________________________________ ietf-822 mailing list [email protected] https://www.ietf.org/mailman/listinfo/ietf-822