From 4b1e1c2fb6578ad0cf18bb0854c05994e55f7668 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 23 Feb 2006 09:46:45 +0000 Subject: [PATCH] =?utf8?q?Bug=20328108:=20Unable=20to=20login=20on=20a=20f?= =?utf8?q?resh=20Bugzilla=20install=20using=20the=20login=20form=20on=20th?= =?utf8?q?e=20home=20page=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin?= =?utf8?q?=20=20r/a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/Config/Common.pm | 2 +- Bugzilla/Config/Core.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm index c87e2f713d..9cb13d99f8 100644 --- a/Bugzilla/Config/Common.pm +++ b/Bugzilla/Config/Common.pm @@ -189,7 +189,7 @@ sub check_shadowdb { sub check_urlbase { my ($url) = (@_); - if ($url !~ m:^http.*/$:) { + if ($url && $url !~ m:^http.*/$:) { return "must be a legal URL, that starts with http and ends with a slash."; } return ""; diff --git a/Bugzilla/Config/Core.pm b/Bugzilla/Config/Core.pm index e2ff8746db..541a48c693 100644 --- a/Bugzilla/Config/Core.pm +++ b/Bugzilla/Config/Core.pm @@ -49,7 +49,7 @@ sub get_param_list { { name => 'urlbase', type => 't', - default => 'http://you-havent-visited-editparams.cgi-yet/', + default => '', checker => \&check_urlbase }, -- 2.47.2