[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dash-escaping clarification



On 3/7/03 5:46 AM, "David Shaw" <dshaw@xxxxxxxxxxxxxxx> wrote:

Added in for bis08.

    Jon

> 
> Section 7.1 (Dash-Escaped Text) of bis-07 says, in part, that
> dash-escaped text is "the ordinary cleartext where every line starting
> with a dash '-' (0x2D) is prefixed by the sequence dash '-' (0x2D) and
> space ' ' (0x20)."
> 
> Since the most common use of dash-escaped text is in email, both PGP
> and GnuPG (by default) also dash-escape lines starting with the word
> "From " (with the space).  This is for the usual mbox-inspired
> reasons.  If the "From " line isn't escaped, then some downstream mail
> system may escape it, thus breaking the signature.
> 
> Nothing in the draft seems to discourage dash-escaping more than just
> the lines beginning with a dash.  Still, I am concerned with the
> receiving side not knowing that these other lines may be escaped as
> well (they may match on a dash-space-dash at the beginning of the
> line, rather than dash-space).  A sentence saying something like "Any
> other line MAY be dash-escaped as well at the discretion of the
> sender" would be very helpful here.
> 
> David
>