Commit 18e0eec7 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 328108: Unable to login on a fresh Bugzilla install using the login form on…

Bug 328108: Unable to login on a fresh Bugzilla install using the login form on the home page - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
parent aed0dc11
...@@ -189,7 +189,7 @@ sub check_shadowdb { ...@@ -189,7 +189,7 @@ sub check_shadowdb {
sub check_urlbase { sub check_urlbase {
my ($url) = (@_); 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 "must be a legal URL, that starts with http and ends with a slash.";
} }
return ""; return "";
......
...@@ -49,7 +49,7 @@ sub get_param_list { ...@@ -49,7 +49,7 @@ sub get_param_list {
{ {
name => 'urlbase', name => 'urlbase',
type => 't', type => 't',
default => 'http://you-havent-visited-editparams.cgi-yet/', default => '',
checker => \&check_urlbase checker => \&check_urlbase
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment