🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80662

Re: basic nntp connections question

#80662
From: Julien ÉLIE
Date: Wed, 22 Apr 2009 20:42
45 lines
3342 bytes
Hi Curt,

> I don't know how this
> issue is currently dealt with in the RFCs, but that's my view of how it
> should be done.

It should be tackled in an NNTP extension.

Otherwise RFC 3977 states:

   A multi-line data block is used in certain commands and responses.
   It MUST adhere to the following rules:

   1.  The block consists of a sequence of zero or more "lines", each
       being a stream of octets ending with a CRLF pair.  Apart from
       those line endings, the stream MUST NOT include the octets NUL,
       LF, or CR.

[...]

   Note that texts using an encoding (such as UTF-16 or UTF-32) that may
   contain the octets NUL, LF, or CR other than a CRLF pair cannot be
   reliably conveyed in the above format (that is, they violate the MUST
   requirement above).  However, except when stated otherwise, this
   specification does not require the content to be UTF-8, and therefore
   (subject to that same requirement) it MAY include octets above and
   below 128 mixed arbitrarily.



And also note that RFC 5322 which deals with the Internet message format
mentions:

   Finally, certain characters that were formerly allowed in messages
   appear in this section.  The NUL character (ASCII value 0) was once
   allowed, but is no longer for compatibility reasons.

Amusing they now disallow them (it sounds like a regression).

-- 
Julien ÉLIE

« Pas besoin d'un grand dessin pour comprendre que les recettes
  du druide sont mal digérées par les Romains ! » (Astérix) 
Technical Details
Message-ID: <gsnvkn$fui$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <gdydnR0nDbBlYXrUnZ2dnUVZ_tKdnZ2d@giganews.com> <E5idnfcWEqrEIHXUnZ2dnUVZ_qydnZ2d@giganews.com> <gsah2r$94p$1@news.trigofacile.com> <gsahhb$9ir$1@news.trigofacile.com> <gsb4hm$p61$1@news4.rz.uni-karlsruhe.de> <gsc12f$mbc$1@news.trigofacile.com> <gsdi70$orf$1@news4.rz.uni-karlsruhe.de> <gsdmd8$fct$1@news.trigofacile.com> <gslg8m$uqr$1@news4.rz.uni-karlsruhe.de> <gsmbpt$vrl$1@news.trigofacile.com> <gsml6l$chq$1@news4.rz.uni-karlsruhe.de> <gsnmu1$7v2$1@news.trigofacile.com> <gsnpfh$quc$1@news4.rz.uni-karlsruhe.de> <20090422155433.725$kP@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <gsnvkn$fui$1@news.trigofacile.com>
Subject: Re: basic nntp connections question
Date: Wed, 22 Apr 2009 22:42:56 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gdydnR0nDbBlYXrUnZ2dnUVZ_tKdnZ2d@giganews.com> <E5idnfcWEqrEIHXUnZ2dnUVZ_qydnZ2d@giganews.com> <gsah2r$94p$1@news.trigofacile.com> <gsahhb$9ir$1@news.trigofacile.com> <gsb4hm$p61$1@news4.rz.uni-karlsruhe.de> <gsc12f$mbc$1@news.trigofacile.com> <gsdi70$orf$1@news4.rz.uni-karlsruhe.de> <gsdmd8$fct$1@news.trigofacile.com> <gslg8m$uqr$1@news4.rz.uni-karlsruhe.de> <gsmbpt$vrl$1@news.trigofacile.com> <gsml6l$chq$1@news4.rz.uni-karlsruhe.de> <gsnmu1$7v2$1@news.trigofacile.com> <gsnpfh$quc$1@news4.rz.uni-karlsruhe.de> <20090422155433.725$kP@newsreader.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 45
NNTP-Posting-Host: aaubervilliers-151-1-69-177.w81-48.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1240433111 16338 81.48.72.177 (22 Apr 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 22 Apr 2009 20:45:11 +0000 (UTC)
In-Reply-To: <20090422155433.725$kP@newsreader.com>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049