зеркало из https://github.com/mozilla/pjs.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 <LpSolit@gmail.com> r/a=myk
This commit is contained in:
Родитель
8870a7917e
Коммит
7d457a9cff
|
@ -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 "";
|
||||
|
|
|
@ -49,7 +49,7 @@ sub get_param_list {
|
|||
{
|
||||
name => 'urlbase',
|
||||
type => 't',
|
||||
default => 'http://you-havent-visited-editparams.cgi-yet/',
|
||||
default => '',
|
||||
checker => \&check_urlbase
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче