🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90778

Re: Historical articles and longest retention. dot-stuff

#90778
From: Julien ÉLIE
Date: Wed, 13 Sep 2023 10:21
45 lines
3043 bytes
In addition to my previous article:

> Just tried, but looks like there's a bug in INN as headers are not 
> dot-stuffed when retrieved via for instance ARTICLE:
> 
> 
> POST
> [...]
> ..header-test: valid
> 
> Adding a dot-stuffed .header-test header field in headers.
> .. as well as a dot-stuffed line in the body.
> .
> 
> 
> 
> ARTICLE
> [...]
> .header-test: valid
> 
> Adding a dot-stuffed .header-test header field in headers.
> .. as well as a dot-stuffed line in the body.
> .

Issue found, and appearing only with nnrpd.  It uses two different 
output methods for the headers (Towire) and the body (NNTPsendarticle). 
Only the second one dot-stuffs lines when appropriate.  I'll fix that.

innd (IHAVE/TAKETHIS) already correctly handles dot-stuffed header lines.



> FWIW, Thunderbird correctly shows the .header-test header field.

flnews too BTW.
And both Thunderbird and flnews are resilient with ".header-test" 
(invalid in an ARTICLE response per RFC - but INN currently sends it 
without doubling the initial dot) and "..header-test" (the valid syntax 
in wire format).  They display the ".header-test" header field in both 
cases.

-- 
Julien ÉLIE

« Vinum bonum laetificat cor hominis. »
Technical Details
Message-ID: <uds2g2$2ua8g$3@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
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> <pDzLM.9482$eyS6.866@fx15.ams4> <87cyyoyavg.fsf@hope.eyrie.org> <LV0MM.40635$Flj7.17760@fx13.ams4> <udq7os$2ss6l$1@news.trigofacile.com> <gh2MM.8082$tXw4.2790@fx11.ams4> <87zg1rfcqb.fsf@hope.eyrie.org> <udqd7q$2sugc$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <uds2g2$2ua8g$3@news.trigofacile.com>
Subject: Re: Historical articles and longest retention. dot-stuff
Date: Wed, 13 Sep 2023 12:21:53 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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> <pDzLM.9482$eyS6.866@fx15.ams4> <87cyyoyavg.fsf@hope.eyrie.org> <LV0MM.40635$Flj7.17760@fx13.ams4> <udq7os$2ss6l$1@news.trigofacile.com> <gh2MM.8082$tXw4.2790@fx11.ams4> <87zg1rfcqb.fsf@hope.eyrie.org> <udqd7q$2sugc$1@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
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 13 Sep 2023 10:21:54 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="3090704"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.0
Cancel-Lock: sha1:+FRmjFlwtdMUaW4tn6nmDmdPIiI= sha256:c1yF0vuqYA9S9wnl4uCVy/hFIlkLiE1+0qPGRF7f0Yo= sha1:GsKcDAi3PGYYI5CmBULkdgdNZoQ= sha256:rjulYnvdTMDPfpuBDyhQu6xgf7wC/JUEB3NoNYdmhHI=
In-Reply-To: <udqd7q$2sugc$1@news.trigofacile.com>