Article View: news.software.nntp
Article #80345Re: INN and newgroups
From: Julien ÉLIE
Date: Tue, 10 Mar 2009 20:27
Date: Tue, 10 Mar 2009 20:27
46 lines
3077 bytes
3077 bytes
Hi Peter,
>> return 'Unsafe group name' if /[\`\/:;]/;
>
> Does this check do anything useful that the per-component check
> doesn't?
Nothing more than the following check:
return 'Illegal character(s) in name' if /[^a-z0-9+_\-]/;
I will comment the first one.
>> # Sigh, c++ etc. must be allowed.
>> return 'Repeated punctuation in name' if /--|__|\+\+./;
>
> Do final -- and __ need to be allowed?
They are not with that syntax. Should they be allowed then?
> You might also consider blocking final +++ (or longer)
By the way, where is it said that such names are not valid?
I do not see that in USEFOR.
("poster" should also be rejected.)
>> If you have suggestions for these checks, feel free to tell.
>> Note that a whitespace in the group name or uppercase latters normally
>> cannot be found here (INN lowercases the group name sooner in the script).
>
> Why not reject such names instead of modifying them?
I will remove the lowercase function.
Control: NewGroup fr.TesT
was read as:
Control: newgroup fr.test
--
Julien ÉLIE
« Quand j'étais petit, je séchais la natation. » (Philippe Geluck)
Technical Details
Message-ID:
<gp6ii6$i0v$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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feeder1-2.proxad.net!news.cs.univ-paris8.fr!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<AR039.000000.000@uce.gov> <gos8gd$6re$1@news.albasani.net> <808wnhyjgl.fsf@banana.shacknet.nu> <got324$cqs$1@aux.snarked.org> <gotdup$k04$3@news.albasani.net> <goum3q$sfs$2@aux.snarked.org> <gouo07$hv2$1@news.trigofacile.com> <govsh5$dfa$1@aux.snarked.org> <gp06kc$uj6$1@news.trigofacile.com> <gp17ks$ncv$2@aux.snarked.org> <87ljrfu5ty.fsf@windlord.stanford.edu> <gp1ai5$nsj$1@aux.snarked.org> <874oy3u3t3.fsf@windlord.stanford.edu> <gp3rgq$vod$1@news.trigofacile.com> <slrngrcvkl.skj.pjr@pjr.gotdns.org>Show Full Headers
Complete Article Headers
Message-ID: <gp6ii6$i0v$1@news.trigofacile.com> Subject: Re: INN and newgroups Date: Tue, 10 Mar 2009 21:27:49 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <AR039.000000.000@uce.gov> <gos8gd$6re$1@news.albasani.net> <808wnhyjgl.fsf@banana.shacknet.nu> <got324$cqs$1@aux.snarked.org> <gotdup$k04$3@news.albasani.net> <goum3q$sfs$2@aux.snarked.org> <gouo07$hv2$1@news.trigofacile.com> <govsh5$dfa$1@aux.snarked.org> <gp06kc$uj6$1@news.trigofacile.com> <gp17ks$ncv$2@aux.snarked.org> <87ljrfu5ty.fsf@windlord.stanford.edu> <gp1ai5$nsj$1@aux.snarked.org> <874oy3u3t3.fsf@windlord.stanford.edu> <gp3rgq$vod$1@news.trigofacile.com> <slrngrcvkl.skj.pjr@pjr.gotdns.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feeder1-2.proxad.net!news.cs.univ-paris8.fr!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp,news.admin.hierarchies Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 46 NNTP-Posting-Host: aaubervilliers-151-1-69-80.w81-48.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1236716934 18463 81.48.72.80 (10 Mar 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Tue, 10 Mar 2009 20:28:54 +0000 (UTC) In-Reply-To: <slrngrcvkl.skj.pjr@pjr.gotdns.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049