Mail archive are always plain text files.

This commit is contained in:
Wolfram Schneider 2000-11-29 22:10:24 +00:00
parent dc8b5031ef
commit 123080699b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=8454

View file

@ -6,7 +6,7 @@
# by John Fieber
# 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";
@ -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-]+$% &&
open(DATA, "$messagepathcurrent$file")))
{