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

Frank Ellermann nobody at xyzzy.claranet.de
Thu May 17 19:35:59 PDT 2007


John C Klensin wrote:

>     LWSP AtLeastOneRequiredThing CRLF
> or
>     [ LWSP optional-stuff ] CRLF

> I don't see either of the latter as problematic.

Depends on the protocol.  Your constructs match
      SP CRLF SP CRLF SP AtLeastOneRequiredThing CRLF
      SP CRLF SP CRLF SP optional-stuff CRLF
.........^^^^^^^^^^^^
If you do this e.g. in a mail or HHTP header, where
CRLF CRLF means "end of header", then any tool like
a text editor or other UA trying to reuse the header
field "as is" while silently removing trailing white
space would end up with
      CRLF CRLF SP AtLeastOneRequiredThing CRLF
      CRLF CRLF SP optional-stuff CRLF
......^^^^^^^^^

Frank




More information about the ietf-dkim mailing list