Article View: news.software.readers
Article #248192Re: [slrn] [JED] [!slang] Can slrn post "Subject: \xeF\xbb\xbF" ?
From: Steve Crook
Date: Mon, 16 Jan 2012 13:37
Date: Mon, 16 Jan 2012 13:37
23 lines
2453 bytes
2453 bytes
On Mon, 16 Jan 2012 12:49:53 +0000 (UTC), Junior wrote in
Message-Id: <201201161249.UTC.jf16dh$cd2$1@tioat.net>:
> Just for fun, I'm thinking of adding something to the filter here
> that will turn your subject headers into mime-q encoded words. Perl
> is like chock full of modules you can add that will do all kinds of
> fancy stuff with utf-8 or any character encodings. The thing that
> puzzles me is why inn doesn't already do this. Ping, Steve. <g>
INN doesn't do it (in filter_innd.pl) because it has no capability to
modify content. In other words, what's been accepted at the point of
injection is considered immutable. As a side, I've been logging
messages that use Jeff's BOM using this:-
logart('relfbom', 'relfbom', 271) if $hdr{Subject} =~ /\xEF\xBB\xBF/;
So far it's only logged articles posted by Jeff and follow-ups to him.
The follow-ups are broken as the reader slots "Re:" in before it.
You could modify filter_nnrpd.(pl|py) to trap/change this behaviour for
articles posted locally on your server. Both Perl and Python have
pretty good capabilities in this department.
Technical Details
Message-ID:
<slrnjh8a18.k0j.steve@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mailReferences:
<201201151433.UTC.jeuo3f$u1e$1@tioat.net> <Jeff-Relf.Me@2012_Jan.15^1.41.pm> <201201160618.UTC.jf0fg9$3os$2@tioat.net> <201201160636.UTC.jf0gi9$34s$1@tioat.net> <Jeff-Relf.Me@2012_Jan.15^11.04.pm> <201201160747.UTC.jf0klv$58g$1@tioat.net> <Jeff-Relf.Me@2012_Jan.16^0.25.am> <201201161249.UTC.jf16dh$cd2$1@tioat.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnjh8a18.k0j.steve@news.mixmin.net> Subject: Re: [slrn] [JED] [!slang] Can slrn post "Subject: \xeF\xbb\xbF" ? Date: Mon, 16 Jan 2012 13:37:44 +0000 From: Steve Crook <steve@mixmin.net> References: <201201151433.UTC.jeuo3f$u1e$1@tioat.net> <Jeff-Relf.Me@2012_Jan.15^1.41.pm> <201201160618.UTC.jf0fg9$3os$2@tioat.net> <201201160636.UTC.jf0gi9$34s$1@tioat.net> <Jeff-Relf.Me@2012_Jan.15^11.04.pm> <201201160747.UTC.jf0klv$58g$1@tioat.net> <Jeff-Relf.Me@2012_Jan.16^0.25.am> <201201161249.UTC.jf16dh$cd2$1@tioat.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail Newsgroups: alt.free.newsservers,news.software.readers Organization: Mixmin Injection-Date: Mon, 16 Jan 2012 13:37:44 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4"; logging-data="3799"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.0-26 (Linux) Lines: 22 X-Original-Bytes: 2221