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:
parent
f87f0034d5
commit
ec6bada8d5
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=16956
1 changed files with 2 additions and 2 deletions
|
|
@ -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/&/&/g; s/</</g; s/>/>/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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue