Article View: news.software.nntp
Article #58613Bug in Cleanfeed?
From: Jani Hakala
Date: Wed, 01 May 2002 08:08
Date: Wed, 01 May 2002 08:08
31 lines
1960 bytes
1960 bytes
Hi,
I have been using Cleanfeed modified by Marco d'Itri for a
while. One local user tried to cancel his article but the cancel
message was rejected with reason 'Cancel in forbidden group' which
couldn't be true in this case.
This feature for preventing cancel messages in some groups seems to
broken:
sub filter_art {
...
if (not $hdr{Control}) {
%gr = ();
...
value of $gr{no_cancel} is calculated in this block
...
} elsif ($hdr{Control} =~ /^\s*cancel/) {
...
# the contents of %gr during this block belong to some other article!
return reject('Cancel in forbidden group', 'Rogue cancel')
if $gr{no_cancel} and not $hdr{Path} =~ /!cyberspam!/;
...
}
...
}
Jani Hakala
Technical Details
Message-ID:
<87hels1e9o.fsf@pingviini.kortex.jyu.fi>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.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed01.nntp.se.dataphone.net!nntp.se.dataphone.net!feeder1.news.jippii.net!nntp.inet.fi!inet.fi!newsfeed.kolumbus.fi!mordred.cc.jyu.fi!pingviini.kortex.jyu.fi!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <87hels1e9o.fsf@pingviini.kortex.jyu.fi> Subject: Bug in Cleanfeed? Date: Wed, 01 May 2002 08:08:35 +0000 From: Jani Hakala <jahakala@iki.fi> 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.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed01.nntp.se.dataphone.net!nntp.se.dataphone.net!feeder1.news.jippii.net!nntp.inet.fi!inet.fi!newsfeed.kolumbus.fi!mordred.cc.jyu.fi!pingviini.kortex.jyu.fi!not-for-mail Newsgroups: news.software.nntp Organization: Penguins on the loose. Lines: 30 Sender: jahakala@kortex.jyu.fi NNTP-Posting-Host: pingviini.kortex.jyu.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pingviini.kortex.jyu.fi 1020240516 5104 130.234.176.223 (1 May 2002 08:08:36 GMT) X-Complaints-To: usenet@pingviini.kortex.jyu.fi NNTP-Posting-Date: Wed, 1 May 2002 08:08:36 +0000 (UTC) Organisation: JYFL User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)