๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60775

Re: Reminder to filter misplaced yEnc with other binaries

#60775
From: Russ Allbery
Date: Sun, 29 Sep 2002 21:45
21 lines
1871 bytes
Francois Petillon <fantec@proxad.net> writes:
> Russ Allbery a ๏ฟฝcrit :

>> For the time being, after consulting with the current Cleanfeed 
>> code, I'm using:
>>     if ($hdr{__BODY__} =~ m%^=ybegin (.+)$%m) {

> I may be wrong but this filter is not working quite well. It seems
> it does not match when the body contains yEnc encoded data (but it
> matches when I quotemeta the body).

I'm not sure that I follow.  I particularly don't understand what calling
quotemeta on the body will accomplish; that just adds a bunch of
backslashes to the body text.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylznu0lbau.fsf@windlord.stanford.edu>
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!nntp.stanford.edu!not-for-mail
References: <ylu1k8my0e.fsf@windlord.stanford.edu> <3D977334.A5AAF0BC@proxad.net>

Show Full Headers
Complete Article Headers
Message-ID: <ylznu0lbau.fsf@windlord.stanford.edu>
Subject: Re: Reminder to filter misplaced yEnc with other binaries
Date: Sun, 29 Sep 2002 14:45:45 -0700
From: Russ Allbery <rra@stanford.edu>
References: <ylu1k8my0e.fsf@windlord.stanford.edu> <3D977334.A5AAF0BC@proxad.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 20
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.Stanford.EDU 1033335945 23378 171.64.13.23 (29 Sep 2002 21:45:45 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:fmtpVmmH10W441neimKz1uPXae8=