Article View: news.software.nntp
Article #41024Re: Newsgroups name with uppercase ?
From: Etienne Gauthier
Date: Thu, 21 Oct 1999 00:00
Date: Thu, 21 Oct 1999 00:00
39 lines
1992 bytes
1992 bytes
Andrew Gierth wrote:
>
> >>>>> "Etienne" == Etienne Gauthier <bardet@montrouge.tt.slb.com> writes:
>
> Etienne> As I said in my answer to Paul, INN 2.2 also doesn't like
> Etienne> uppercases in newsgroups name
>
> INN itself doesn't have any problem with them (you can create them with
> ctlinnd newgroup and they work).
>
> It looks like newgroup.pl in 2.2 is too strict; while an explicit check
> for uppercase is commented out, there is also a check for other illegal
> characters that doesn't include uppercase in the allowed set. Viz:
>
> #elsif ($c =~ /[A-Z]/) {
> # $errmsg = 'uppercase letter(s) in name';
> #}
> elsif ($c =~ /[^a-z0-9+_\-.]/) {
> $errmsg = 'illegal character(s) in name';
> }
>
> Change that last elsif to
>
> elsif ($c =~ /[^A-Za-z0-9+_\-.]/) {
>
> and it should be OK.
>
> --
> Andrew.
Thanks a lot to you, Andrew and Greg.
I'll modify this .. and prevent new newsgroups to contain uppercases,
as it apparently would be better.
Etienne
Technical Details
Message-ID:
<380F294C.1E2432BB@montrouge.tt.slb.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.mbox.zip!not-for-mailReferences:
<380C98F8.87D1FE29@capgemini.fr> <877lkjjj5v.fsf@banet.net> <380DC03F.553AB2B@montrouge.tt.slb.com> <87puy9ebyg.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <380F294C.1E2432BB@montrouge.tt.slb.com> Subject: Re: Newsgroups name with uppercase ? Date: Thu, 21 Oct 1999 00:00:00 +0000 From: Etienne Gauthier <bardet@montrouge.tt.slb.com> References: <380C98F8.87D1FE29@capgemini.fr> <877lkjjj5v.fsf@banet.net> <380DC03F.553AB2B@montrouge.tt.slb.com> <87puy9ebyg.fsf@erlenstar.demon.co.uk> 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!not-for-mail X-Deja-AN: 538868543 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@oleane.net X-Trace: minus.oleane.net 940517842 22847 194.3.234.197 (21 Oct 1999 14:57:22 GMT) Organization: Cap Gemini Mime-Version: 1.0 NNTP-Posting-Date: 21 Oct 1999 14:57:22 GMT Newsgroups: news.software.nntp