[prev in list] [next in list] [prev in thread] [next in thread]
List: twig-devel
Subject: Re: [twig-devel] twig-bug it seems real
From: Jason Haar <Jason.Haar () trimble ! co ! nz>
Date: 2000-09-18 1:17:48
[Download RAW message or body]
On Tue, Sep 12, 2000 at 07:58:24PM -0000, Greg Ross wrote:
>
> This is not really a bug, but the definition of how SMTP works, any line
> with a single . and a cr/lf on it terminates the message (that actually might
> be a cr/lf . cr/lf, I can't remember the spec exactly off the top of my head).
>
Err, if the problem is that Twig is NOT escaping a composed message that
contains "<CR><LF>.<CR><LF>" - then I'm afraid it IS a bug!
RFC822 explicitly states that SMTP transactions end with
"<CR><LF>.<CR><LF>", so if a composed message contains said sequence, it
must be rewritten as "<CR><LF>..<CR><LF>" so as to escape multilation.
It goes without saying that the receiving SMTP server rewrites
"<CR><LF>..<CR><LF>" to "<CR><LF>.<CR><LF>" to ensure no corruption results.
--
Cheers
Jason Haar
Unix/Network Specialist, Trimble NZ
Phone: +64 3 9635 377 Fax: +64 3 9635 417
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic