Received: from localhost by CS.UTK.EDU with SMTP (cf v2.9s-UTK) id NAA28710; Thu, 7 Mar 1996 13:19:45 -0500 Received: by CS.UTK.EDU (bulk_mailer v1.4); Thu, 7 Mar 1996 13:17:50 -0500 Received: from po10.andrew.cmu.edu by CS.UTK.EDU with ESMTP (cf v2.9s-UTK) id NAA28445; Thu, 7 Mar 1996 13:17:47 -0500 Received: (from postman@localhost) by po10.andrew.cmu.edu (8.7.4/8.7.1) id NAA00619 for drums@cs.utk.edu; Thu, 7 Mar 1996 13:17:43 -0500 Received: via switchmail; Thu, 7 Mar 1996 13:17:43 -0500 (EST) Received: from hogtown.andrew.cmu.edu via qmail ID ; Thu, 7 Mar 1996 13:16:18 -0500 (EST) Received: from hogtown.andrew.cmu.edu via qmail ID ; Thu, 7 Mar 1996 13:16:14 -0500 (EST) Received: from BatMail.robin.v2.14.CUILIB.3.45.SNAP.NOT.LINKED.hogtown.andrew.cmu.edu.sun4c.411 via MS.5.6.hogtown.andrew.cmu.edu.sun4c_411; Thu, 7 Mar 1996 13:16:09 -0500 (EST) Message-ID: Date: Thu, 7 Mar 1996 13:16:09 -0500 (EST) From: John Gardiner Myers To: drums@cs.utk.edu Subject: Re: Message format document outline In-Reply-To: References: Mark Crispin writes: > Well, I don't think it's important for an unstructured field body to start > with an LWSP-char; in fact, most applications seem to strip LWSP after the > colon. I think that it was certainly the intent that all these be equivalent: > From: Mark Crispin > Subject: blurdybloop > Message-ID: > > From: Mark Crispin > Subject: blurdybloop > Message-ID: From: and Message-ID: are equivalent because of the free-insertion-of-whitespace rules. (Modulo the fact that the rules are stated as applying *between* tokens and this needs to be fixed to properly specify behavior at the beginning and end. The current 822 definition, strictly interpreted, specifies that the two Subject heders above contain different values. The first one has a value that starts with 5 spaces, the second has a value that starts with one. This definition does not match reality. The definition in my outline makes the two values start with 4 and zero spaces respectively. If it is not considered important to have unstructured field body values starting with whitespace, we could go with Mark's suggestion. > From : Mark Crispin > Subject : blurdybloop > Message-ID : These are all illegal per RFC 822 and should continue to be illegal. > The issue for me is that I don't want to add a > requirement that a parser must recognize a headery/body delimiter line with > LWSP chars. I'm adding no such requirement. I am adding a prohibition making all-whitespace header continuation lines invalid. Since they will be invalid, a parser encountering such a line will have the freedom to interpret it however it chooses. > Is this really so? I know that a strict RFC-822 parser would be > broken by this, but is it really viable to have such a strict parser > considering all the violations of the rule with phrase? There are reports of widely deployed parsers which choke on such stuff inside a local-part. Inside a phrase, it's a different story. -- _.John G. Myers Internet: jgm+@CMU.EDU LoseNet: ...!seismo!ihnp4!wiscvm.wisc.edu!give!up