summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-08 19:20:11 +0200
committerDylan William Hardison <dylan@hardison.net>2018-04-08 19:20:11 +0200
commit870c27f502a225320b97b887d9affce6de76ce5e (patch)
treecc6e7183d9fb276a1a934c5a791dd96ca946d00d
parent573d431511390bbfcf6b8ba2d1b232e10d8d0532 (diff)
downloadbugzilla-870c27f502a225320b97b887d9affce6de76ce5e.tar.gz
bugzilla-870c27f502a225320b97b887d9affce6de76ce5e.tar.xz
do not use hostname in error pages
-rw-r--r--Bugzilla/Install/Filesystem.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm
index 0ddc208bc..493479d5e 100644
--- a/Bugzilla/Install/Filesystem.pm
+++ b/Bugzilla/Install/Filesystem.pm
@@ -117,7 +117,6 @@ sub HTTPD_ENV_CONF {
sub _error_page {
my ($code, $title, $description) = @_;
- my $host = Bugzilla->urlbase->host;
return <<EOT;
<!DOCTYPE HTML>
@@ -153,7 +152,7 @@ sub _error_page {
<h1>$title</h1>
<p>$description</p>
<h3>Error $code</h3>
- <p><a href="/">$host</a></p>
+ <p><a href="/">this site</a></p>
</div>
</body>
</html>