Article View: news.software.nntp
Article #90748Re: Historical articles and longest retention.
From: Billy G. (go-while)
Date: Mon, 11 Sep 2023 07:52
Date: Mon, 11 Sep 2023 07:52
65 lines
4179 bytes
4179 bytes
On 02.06.23 23:36, Julien ΓLIE wrote:
>
> Actually, you need adding an additional dot to lines *beginning* with a
> dot, not only lines containing only a dot.
>
are you sure?
if a line contains a dot at the beginning and any text following can't
be a <CRLF>.
the beginning dot in for example ".anytext" or ". any text" does not
need to be escaped.
nntp protocol defines end-of-message with a <CRLF> <DOT> <CRLF>?
https://www.rfc-editor.org/rfc/rfc3977.txt
3.1.1. Multi-line Data Blocks
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.
2. In a multi-line response, the block immediately follows the CRLF
at the end of the initial line of the response. When used in any
other context, the specific command will define when the block is
sent.
3. If any line of the data block begins with the "termination octet"
("." or %x2E), that line MUST be "dot-stuffed" by prepending an
additional termination octet to that line of the block.
4. The lines of the block MUST be followed by a terminating line
consisting of a single termination octet followed by a CRLF pair
in the normal way. Thus, unless it is empty, a multi-line block
is always terminated with the five octets CRLF "." CRLF
(%x0D.0A.2E.0D.0A).
5. When a multi-line block is interpreted, the "dot-stuffing" MUST
be undone; i.e., the recipient MUST ensure that, in any line
beginning with the termination octet followed by octets other
than a CRLF pair, that initial termination octet is disregarded.
6. Likewise, the terminating line ("." CRLF or %x2E.0D.0A) MUST NOT
be considered part of the multi-line block; i.e., the recipient
MUST ensure that any line beginning with the termination octet
followed immediately by a CRLF pair is disregarded. (The first
CRLF pair of the terminating CRLF "." CRLF of a non-empty block
is, of course, part of the last line of the block.)
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.
This document does not place any limit on the length of a line in a
multi-line block. However, the standards that define the format of
articles may do so.
Technical Details
Message-ID:
<pDzLM.9482$eyS6.866@fx15.ams4>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<u3rlen$2nvcc$1@dont-email.me> <4NzXdKS8lFiC65I9j@bongo-ra.co> <c4db4cd6e81e8d13c68c2aacd83cb130@news.novabbs.org> <u5dfr0$saq6$1@news.trigofacile.com> <7de70a7c22f63299fb931a49bf940647@news.novabbs.org> <73a75e2e9b285d7543495da6efe71c48@news.novabbs.org> <u5dndi$saq6$5@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <pDzLM.9482$eyS6.866@fx15.ams4> Subject: Re: Historical articles and longest retention. Date: Mon, 11 Sep 2023 09:52:34 +0200 From: "Billy G. (go-while)" <no-reply@no.spam> References: <u3rlen$2nvcc$1@dont-email.me> <4NzXdKS8lFiC65I9j@bongo-ra.co> <c4db4cd6e81e8d13c68c2aacd83cb130@news.novabbs.org> <u5dfr0$saq6$1@news.trigofacile.com> <7de70a7c22f63299fb931a49bf940647@news.novabbs.org> <73a75e2e9b285d7543495da6efe71c48@news.novabbs.org> <u5dndi$saq6$5@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail MIME-Version: 1.0 User-Agent: NoZilla/3.11 (Hackint; Unicorn; rv:0.8.15) go-while/19720229 NewsRW/4.2.0 Newsgroups: news.software.nntp Content-Language: en-US Organization: github.com/go-while In-Reply-To: <u5dndi$saq6$5@news.trigofacile.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Lines: 65 X-Complaints-To: abuse@blocknews.net NNTP-Posting-Date: Mon, 11 Sep 2023 07:48:37 UTC X-Received-Bytes: 4008