[ietf-dkim] Re: Use of LWSP in ABNF -- consensus call

Tony Finch dot at dotat.at
Fri May 18 01:00:43 PDT 2007


On Thu, 17 May 2007, John C Klensin wrote:
>
> After all <CRLF> Thing <SPACE><CRLF> could case similar problems if
> some construction permitted it ...

This is not news. There have for a long time been problems with
significant trailing space, which is why CRLF 1*WSP CRLF in a header
is part of the obs- syntax of 2822, and why quoted-printable encodes
WSP at the end of a line.

> ... and defining a grammar that would prohibit any <SPACE><CRLF>
> construction isn't easy in ABNF for reasons that have nothing to
> do with LWSP.

This is simply incorrect. It's trivial to define a whitespace
construction that only allows CRLF at the beginning of a sequence:

	NTWSP = [CRLF] 1*WSP ; non-trailing white space

Tony.
-- 
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
SHANNON: SOUTHWEST VEERING WEST 7 TO SEVERE GALE 9, PERHAPS STORM 10 LATER.
VERY ROUGH OR HIGH. RAIN OR SQUALLY SHOWERS. MODERATE OR GOOD.


More information about the ietf-dkim mailing list