🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65814

Question about rfc997, 2.4.1 (double periods)

#65814
From: Zir
Date: Sun, 22 Jun 2003 03:39
33 lines
1863 bytes
The spec clearly states that a
.CRLF means end of message. That's easy.

 However I am not quite so sure about the rest of the
section. It says that when a line, begins with a '.', the period
is to be doubled on posting and un-doubled on reading.

 My question is how would it apply in these cases:
 A) The line is:
     .
     ( in other words, the user wants to post a message that 
       contains a single line, starting with a period, followed 
       by a CRLF )

 B) The line is:
      . Hello Mom!
      
     ( In other words, a user wants to post a message that begins with
        a period, followed by an NON CRLF string of characters, 
        terminated by a CRLF )

(A) seems quite clear; double it or it will  be taken as 'End of Message'

(B) is more interesting, because the period is NOT followed by a CRLF, 
meaning it MUST not be considered as 'End of Message'. In this case, 
should the leading period be double, and if so _WHY_.


 Thanks for the info!

-- 
-max;
Technical Details
Message-ID: <650c1a4c.0306211939.5683608e@posting.google.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!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <650c1a4c.0306211939.5683608e@posting.google.com>
Subject: Question about rfc997, 2.4.1 (double periods)
Date: Sun, 22 Jun 2003 03:39:35 +0000
From: zirggc@endless-nameless.net (Zir)
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!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 32
NNTP-Posting-Host: 141.149.37.148
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1056253177 26947 127.0.0.1 (22 Jun 2003 03:39:37 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 22 Jun 2003 03:39:37 GMT