Explicitly set $hsty_base to avoid broken links in this page when 404s occur

on people.freebsd.org.

PR:	www/42389
This commit is contained in:
Ceri Davies 2003-05-18 17:45:20 +00:00
parent f87f0034d5
commit ec6bada8d5
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=16956

View file

@ -52,7 +52,7 @@
#
# _________________________________________________________________
#
# $FreeBSD: www/en/cgi/missing_handler.cgi,v 1.12 2002/04/17 08:15:39 kuriyama Exp $
# $FreeBSD: www/en/cgi/missing_handler.cgi,v 1.13 2002/05/04 18:48:05 wosch Exp $
# ----------------------------------------------------------------------
sub escape($) { $_ = $_[0]; s/&/&amp;/g; s/</&lt;/g; s/>/&gt;/g; $_; }
@ -80,7 +80,7 @@ $redirect_url_save = escape2($ENV{'REDIRECT_URL'});
$redirect_url_save =~ s/([^a-zA-Z0-9;\/?:&=])/sprintf("%%%02x",ord($1))/eg;
$hsty_base = '';
$hsty_base = 'http://www.freebsd.org';
require './cgi-style.pl';
print &html_header($title);