🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87975

Re: Cleanfeed bug in yEnc handling

#87975
From: Julien ÉLIE
Date: Sat, 01 Jun 2019 22:13
27 lines
2085 bytes
Hi Steve,

>>>> ## =ybegin line=128 size=716800 name=a
> 
> I checked out the yEnc spec and it doesn't appear to enforce any
> particular filename format.  I think the best option would be to just
> check for:-
> /line=/ and /size=/ and /name=/ in a =ybegin line.  Would you agree?

I see that it is what PyClean already does :-)

     if 'line=' in l and 'size=' in l and 'name=' in l:
         return 'yEnc'


PyClean is therefore performing pretty well against the current yEnc 
spam!  I am in favour of doing the same for Cleanfeed so that it matches 
/name=/ only.

-- 
Julien ÉLIE

« – Du potage : c'est tout ce que le cuisinier a pu faire !
   – Ce blocus devient très horripilant !
   – Blocus, c'est ton cuisinier ? » (Astérix)

Technical Details
Message-ID: <qcut9n$alb$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.(19219).mbox.7z!not-for-mail
References: <np3d0jyr846.fsf@sanger.ac.uk> <slrnqf5692.u39.steve@fleegle.mixmin.net> <qcujpu$n86$1@news.trigofacile.com> <slrnqf5mjo.u39.steve@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <qcut9n$alb$1@news.trigofacile.com>
Subject: Re: Cleanfeed bug in yEnc handling
Date: Sun, 2 Jun 2019 00:13:06 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <np3d0jyr846.fsf@sanger.ac.uk> <slrnqf5692.u39.steve@fleegle.mixmin.net> <qcujpu$n86$1@news.trigofacile.com> <slrnqf5mjo.u39.steve@fleegle.mixmin.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.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 1 Jun 2019 22:13:11 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="lfbn-1-2766-249.w86-252.abo.wanadoo.fr:86.252.110.249";
 logging-data="10923"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0)
 Gecko/20100101 Thunderbird/60.7.0
In-Reply-To: <slrnqf5mjo.u39.steve@fleegle.mixmin.net>
Content-Language: fr
X-Received-Bytes: 2130
X-Received-Body-CRC: 1221710877