🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41004

Re: Newsgroups name with uppercase ?

#41004
From: Andrew Gierth
Date: Thu, 21 Oct 1999 00:00
29 lines
1733 bytes
>>>>> "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.

Technical Details
Message-ID: <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
References: <380C98F8.87D1FE29@capgemini.fr> <877lkjjj5v.fsf@banet.net> <380DC03F.553AB2B@montrouge.tt.slb.com>

Show Full Headers
Complete Article Headers
Message-ID: <87puy9ebyg.fsf@erlenstar.demon.co.uk>
Subject: Re: Newsgroups name with uppercase ?
Date: Thu, 21 Oct 1999 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <380C98F8.87D1FE29@capgemini.fr> <877lkjjj5v.fsf@banet.net> <380DC03F.553AB2B@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-mail
X-Deja-AN: 538656277
X-Mayan-Date: Long count = 12.19.6.11.8; tzolkin = 2 Lamat; haab = 16 Yax
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha