accept digits an multiple dashes in mailing list name
This commit is contained in:
parent
a4b5a05ad8
commit
ead0572613
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=8269
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
# by John Fieber
|
# by John Fieber
|
||||||
# February 26, 1998
|
# February 26, 1998
|
||||||
#
|
#
|
||||||
# $FreeBSD: www/en/cgi/getmsg.cgi,v 1.24 2000/01/05 15:47:44 phantom Exp $
|
# $FreeBSD: www/en/cgi/getmsg.cgi,v 1.25 2000/10/29 16:29:45 jmb Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
require "./cgi-lib.pl";
|
require "./cgi-lib.pl";
|
||||||
|
|
@ -63,7 +63,7 @@ sub Fetch
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($file =~ /^$messagepath/ && open(DATA, $file)) ||
|
if (($file =~ /^$messagepath/ && open(DATA, $file)) ||
|
||||||
($file =~ m%^current/(cvs|freebsd)-[a-z]+$% &&
|
($file =~ m%^current/(cvs|freebsd)-[a-z0-9-]+$% &&
|
||||||
open(DATA, "$messagepathcurrent$file")))
|
open(DATA, "$messagepathcurrent$file")))
|
||||||
{
|
{
|
||||||
@finfo = stat DATA;
|
@finfo = stat DATA;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue