perl4 -> Perl5 migration fixes.
This commit is contained in:
parent
38c0b0beb4
commit
c78cb4550d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=4591
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
#
|
#
|
||||||
# Search a mail by Message-ID, References or In-Reply-To field
|
# Search a mail by Message-ID, References or In-Reply-To field
|
||||||
#
|
#
|
||||||
# $Id: mid.cgi,v 1.6 1998-08-03 15:37:47 wosch Exp $
|
# $Id: mid.cgi,v 1.7 1999-04-03 12:32:38 wosch Exp $
|
||||||
|
|
||||||
$hsty_base = '';
|
$hsty_base = '';
|
||||||
|
|
||||||
|
@ -75,6 +75,7 @@ sub get_id {
|
||||||
$location =~ s%/[^/]+$%%;
|
$location =~ s%/[^/]+$%%;
|
||||||
local($host) = $ENV{'HTTP_HOST'};
|
local($host) = $ENV{'HTTP_HOST'};
|
||||||
$location = 'http://' . $host . $location;
|
$location = 'http://' . $host . $location;
|
||||||
|
$start =~ s/\s+$//;
|
||||||
|
|
||||||
print "Location: $location/getmsg.cgi?fetch=$start+0+" .
|
print "Location: $location/getmsg.cgi?fetch=$start+0+" .
|
||||||
($file =~ /^current/ ? '' : "$prefix/") . "$file\n";
|
($file =~ /^current/ ? '' : "$prefix/") . "$file\n";
|
||||||
|
|
Loading…
Reference in a new issue