On 23.08.2006, at 16:31 Uhr, Alvaro Herrera wrote:

Can you have multi-line subject lines?  I didn't think that was
possible.

Yes.  This is the header of a mail you sent to -patches:

Aha? Subject is an "unstructured header field" and according to RFC 2822 [1]:

----8<--------8<--------8<--------8<--------8<--------8<----
2.2.1. Unstructured Header Field Bodies


   Some field bodies in this standard are defined simply as
   "unstructured" (which is specified below as any US-ASCII characters,
   except for CR and LF) with no further restrictions.  These are
referred to as unstructured field bodies. Semantically, unstructured
   field bodies are simply to be treated as a single line of characters
   with no further processing (except for header "folding" and
   "unfolding" as described in section 2.2.3).

----8<--------8<--------8<--------8<--------8<--------8<----

So they don't contain line feeds or carriage returns and so the can't be multi-line. If a mail client sends multi line subjects it does something against the RFC and I assume with that, it does something wrong.

This is the theory in RFC 2822 as far as I understand it.

cug

[1] http://tools.ietf.org/html/rfc2822

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to