Mail archive are always plain text files.
This commit is contained in:
parent
dc8b5031ef
commit
123080699b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=8454
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.27 2000/11/05 10:18:10 wosch Exp $
|
# $FreeBSD: www/en/cgi/getmsg.cgi,v 1.28 2000/11/29 22:05:34 wosch Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
require "./cgi-lib.pl";
|
require "./cgi-lib.pl";
|
||||||
|
|
@ -62,7 +62,7 @@ sub Fetch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($file =~ /^$messagepath/ && open(DATA, $file)) ||
|
if (($file =~ /^$messagepath/ && -f $file && open(DATA, $file)) ||
|
||||||
($file =~ m%^current/(cvs|freebsd)-[a-z0-9-]+$% &&
|
($file =~ m%^current/(cvs|freebsd)-[a-z0-9-]+$% &&
|
||||||
open(DATA, "$messagepathcurrent$file")))
|
open(DATA, "$messagepathcurrent$file")))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue