Re: Parsing the Injection-Info: header field

Julien ÉLIE <julien@trigofacile.com> Mon, 11 January 2010 22:19 UTC

Return-Path: <owner-ietf-usefor@mail.imc.org>
X-Original-To: ietfarch-usefor-archive@core3.amsl.com
Delivered-To: ietfarch-usefor-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1F6E13A6816 for <ietfarch-usefor-archive@core3.amsl.com>; Mon, 11 Jan 2010 14:19:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.556
X-Spam-Level:
X-Spam-Status: No, score=-4.556 tagged_above=-999 required=5 tests=[AWL=1.189, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, STOX_REPLY_TYPE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tm9ZLwuZfNb9 for <ietfarch-usefor-archive@core3.amsl.com>; Mon, 11 Jan 2010 14:19:52 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id EDE293A67F5 for <usefor-archive@ietf.org>; Mon, 11 Jan 2010 14:19:51 -0800 (PST)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id o0BMIDrs067908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Jan 2010 15:18:13 -0700 (MST) (envelope-from owner-ietf-usefor@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id o0BMIDo0067907; Mon, 11 Jan 2010 15:18:13 -0700 (MST) (envelope-from owner-ietf-usefor@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-usefor@mail.imc.org using -f
Received: from 42.mail-out.ovh.net (42.mail-out.ovh.net [213.251.189.42]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id o0BMIBNW067901 for <ietf-usefor@imc.org>; Mon, 11 Jan 2010 15:18:12 -0700 (MST) (envelope-from julien@trigofacile.com)
Received: (qmail 15932 invoked by uid 503); 11 Jan 2010 22:18:28 -0000
Received: from b9.ovh.net (HELO mail440.ha.ovh.net) (213.186.33.59) by 42.mail-out.ovh.net with SMTP; 11 Jan 2010 22:18:28 -0000
Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 11 Jan 2010 22:18:10 -0000
Received: from aaubervilliers-151-1-8-94.w83-114.abo.wanadoo.fr (HELO Iulius) (julien%trigofacile.com@83.114.7.94) by ns0.ovh.net with SMTP; 11 Jan 2010 22:18:08 -0000
Message-ID: <391DD6216B904DAF8D4EB50AAE2027DB@Iulius>
From: Julien ÉLIE <julien@trigofacile.com>
To: Usefor WG <ietf-usefor@imc.org>
References: <3F6C660203CE4751A068B86CD382864E@Iulius> <20100109073118.GB4413@kukkaseppele.kaijanaho.fi> <7FDA90361E9E4C85A22D79FA9014E5C0@Iulius> <Kw32wD.A0o@clerew.man.ac.uk>
In-Reply-To: <Kw32wD.A0o@clerew.man.ac.uk>
Subject: Re: Parsing the Injection-Info: header field
Date: Mon, 11 Jan 2010 23:18:10 +0100
Organization: TrigoFACILE -- http://www.trigofacile.com/
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="iso-8859-1"; reply-type="original"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6002.18005
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005
X-Ovh-Tracer-Id: 11790423825214275001
X-Ovh-Remote: 83.114.7.94 (aaubervilliers-151-1-8-94.w83-114.abo.wanadoo.fr)
X-Ovh-Local: 213.186.33.20 (ns0.ovh.net)
X-Spam-Check: DONE|U 0.5/N
Sender: owner-ietf-usefor@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-usefor/mail-archive/>
List-Unsubscribe: <mailto:ietf-usefor-request@imc.org?body=unsubscribe>
List-ID: <ietf-usefor.imc.org>

Hi Charles,

>>I understand that RFC 2045 now extends the syntax of RFC 5322 (instead
>>of RFC 822).
>
> How can that possibly be so, since it was written umpteen years earlier?
> Anything that "extended RFC 5322 would have to be written _after_ that.

A misunderstanding of mine.
I thought that if an article was to comply with RFC 5322, then the syntax
of extended fields (defined by MIME), was to be restricted to what RFC 5322
allows.  But that does not seem to be the case.

Thanks, Antti-Juhani and Charles, for having explained what should be
done for MIME.


> RFC 2045, and its relations, provides syntax for many new header fields.
> From reading RFC 2045 and RFC 822, you can deduce *exactly* where CFWS is
> allowed. If RFC were to be re-written (a highly desirable thing BTW), then
> if would redefine its syntax with explicite CFWS, presumably in exactly
> the same places as now, unless it chose to declare some of them to be
> obsolete as 5322 has done.
>
> It is clear that, according to RFC 2045, CFWS is allowed on both sides of
> the '=' in a <parameter> (and why shouldn't it?). And, just to make sure, I
> checked my interpretation with Keith Moore before writing the original
> version of the paragraph which you quoted.

Yeah, no problem.  Sorry for the disturbance of my thread.

For what it is worth, I also had an answer from the YAM group meanwhile:

  http://www.ietf.org/mail-archive/web/yam/current/msg00279.html

    [Ned Freed]
    "RFCs 2045 and 2046 were written before DRUMS and RFCs
    2821/2822/5321/5322 and therefore used the syntactic convensions of RFC 822,
    where LWSP is implicitly allowed between tokens. The fact that DRUMS opted to
    make the places where LWSP is allowed explicit rather than implicit doesn't
    change the syntax rules for 2045 and 2046 in any way. shape or form.

    I also note that had RFC 5322 had any effect on MIME syntax, the header of the
    document would show that it updates RFCs 2045 and 2046. The document header
    says no such thing.

    P.S. When revised MIME specifications come out they will probably switch to the
    explicit LWSP approach since it seems that's the preferred way to do it now."

-- 
Julien ÉLIE

« Cela n'a rien de remarquable. Il suffit d'appuyer
  sur la bonne touche au bon moment et l'instrument
  joue tout seul. » (J.-S. Bach)