🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60823

Re: Reminder to filter misplaced yEnc with other binaries

#60823
From: Francois Petillon
Date: Mon, 30 Sep 2002 15:05
26 lines
2179 bytes
On Mon, 30 Sep 2002 16:12:53 +0200, Marco d'Itri wrote:
>>After a few hours of trying to understand the problem, I feel like I
>>have a problem with inn (stable 20020930) and perl (5.6.1). Even
>>__LINES__ has a wrong value.

Forget about this, I should take the time to sleep from time
to time.

> Maybe you are experiencing the same bug which causes some binary
> articles to not be recognized by cleanfeed when it's called by INN but
> the same article being properly flagged as binary when saved by
> cleanfeed with saveart() and manually processed with the debugging tool.

I have lightly modified the regexp and my version of perl seems to
prefer it :
    if ($hdr{__BODY__} =~ /(?:^|\n)=ybegin (.+)$/m) {

instead of 
    if ($hdr{__BODY__} =~ /^=ybegin (.+)$/mox) {

in is_binary.

I will probably have to do the same for uue...

  Fran�ois
Technical Details
Message-ID: <3d986824$0$452$626a54ce@news.free.fr>
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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news1-2.free.fr!not-for-mail
References: <ylu1k8my0e.fsf@windlord.stanford.edu> <3D977334.A5AAF0BC@proxad.net> <ylznu0lbau.fsf@windlord.stanford.edu> <3d98546c$0$238$626a54ce@news.free.fr> <an9m55$29s$1@wonderland.linux.it>

Show Full Headers
Complete Article Headers
Message-ID: <3d986824$0$452$626a54ce@news.free.fr>
Subject: Re: Reminder to filter misplaced yEnc with other binaries
Date: Mon, 30 Sep 2002 17:05:08 +0200
From: Francois Petillon <fantec@proxad.net>
References: <ylu1k8my0e.fsf@windlord.stanford.edu> <3D977334.A5AAF0BC@proxad.net> <ylznu0lbau.fsf@windlord.stanford.edu> <3d98546c$0$238$626a54ce@news.free.fr> <an9m55$29s$1@wonderland.linux.it>
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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news1-2.free.fr!not-for-mail
Newsgroups: news.software.nntp
User-Agent: Pan/0.11.3 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Comment-To: "Marco d'Itri" <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int>
Lines: 25
Organization: Guest of ProXad - France
NNTP-Posting-Date: 30 Sep 2002 17:05:08 MEST
NNTP-Posting-Host: 213.228.1.82
X-Trace: 1033398308 news1-2.free.fr 452 213.228.1.82
X-Complaints-To: abuse@proxad.net