🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56474

Re: Trailing spaces in body on INN 2.3.3 ?

#56474
From: J.B. Moreno
Date: Tue, 12 Feb 2002 23:11
36 lines
2974 bytes
In article <12338.c22200@archiver.winews.net>, 
 The Archiver <archiver@i3w.com> wrote:

> "J.B. Moreno" <planb@newsreaders.com> wrote:
> 
> >The problem that started this thread was a misunderstanding -- the
> >original poster wasn't aware of the NNTP requirement of doubling
> >leading periods.  It might be worthwhile to mention that on the
> >yenc.org page somewhere as an informational notice; [...]
> 
> From the "implementation notes" on yenc.org:
[reformatted]
>    It might be possible to encode the DOT '.' character only in the
>    first column. Another method would be to duplicate the DOT when
>    the article is transmitted by NNTP. The dot is still encoded in
>    the source code example. I love the straight forward conception.
>    No dot can occur in the first column.
-snip-
> It is an interesting experience to compare what is included in the 
> draft/notes and what the programmers made of it.

The problem with the above is that it doesn't explain /why/ you would
want to encode the dot in the first column.  I'd suggest something
like:

    There is an NNTP requirement that if a line begins with a
    leading period (i.e. a DOT aka '.'), that period must be doubled
    when POSTing to the server, when retrieving an article any
    period at the beginning of a line are to be removed.  To avoid
    this, some clients will encode the period if it is the first
    character on a line, others will encode all periods.  When
    retrieving an article via NNTP, the client must be prepared to
    encounter doubled leading periods.

It's a bit longer, but more educational.
Technical Details
Message-ID: <120220021811586888%planb@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.digex.net!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!flame.newsreader.com!planb
References: <52419.622207@archiver.winews.net> <a405vd$huq$1@newsread4.arcor-online.net> <ylit9723rb.fsf@windlord.stanford.edu> <2504c.922202@archiver.winews.net> <090220021805040684%planb@newsreaders.com> <07149.a22201@archiver.winews.net> <100220021938086126%planb@newsreaders.com> <35546.b22201@archiver.winews.net> <110220021315177774%planb@newsreaders.com> <12338.c22200@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <120220021811586888%planb@newsreaders.com>
Subject: Re: Trailing spaces in body on INN 2.3.3 ?
Date: Tue, 12 Feb 2002 18:11:58 -0500
From: "J.B. Moreno" <planb@newsreaders.com>
References: <52419.622207@archiver.winews.net> <a405vd$huq$1@newsread4.arcor-online.net> <ylit9723rb.fsf@windlord.stanford.edu> <2504c.922202@archiver.winews.net> <090220021805040684%planb@newsreaders.com> <07149.a22201@archiver.winews.net> <100220021938086126%planb@newsreaders.com> <35546.b22201@archiver.winews.net> <110220021315177774%planb@newsreaders.com> <12338.c22200@archiver.winews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.digex.net!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!flame.newsreader.com!planb
Newsgroups: news.software.nntp
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
User-Agent: Thoth/1.5.0 (Carbon/OS X)
X-Trace: flame.newsreader.com phfX-C_p,CAiDr+H0_JgPiKA1vs197bEIelMSz0WjfOHD5
Lines: 35