From: lpsolit%gmail.com <> Date: Thu, 23 Feb 2006 09:51:23 +0000 (+0000) Subject: Bug 328108: Unable to login on a fresh Bugzilla install using the login form on the... X-Git-Tag: bugzilla-2.20.2~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32da98605d7ccbfc62a763a38deb2e1298623bfe;p=thirdparty%2Fbugzilla.git Bug 328108: Unable to login on a fresh Bugzilla install using the login form on the home page - Patch by Frédéric Buclin r/a=myk --- diff --git a/defparams.pl b/defparams.pl index 4bd109b8e7..7e48ff951c 100644 --- a/defparams.pl +++ b/defparams.pl @@ -140,7 +140,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 ""; @@ -325,7 +325,7 @@ sub check_mail_delivery_method { desc => 'The URL that is the common initial leading part of all Bugzilla ' . 'URLs.', type => 't', - default => 'http://you-havent-visited-editparams.cgi-yet/', + default => '', checker => \&check_urlbase },