]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 328108: Unable to login on a fresh Bugzilla install using the login form on the...
authorlpsolit%gmail.com <>
Thu, 23 Feb 2006 09:46:45 +0000 (09:46 +0000)
committerlpsolit%gmail.com <>
Thu, 23 Feb 2006 09:46:45 +0000 (09:46 +0000)
Bugzilla/Config/Common.pm
Bugzilla/Config/Core.pm

index c87e2f713d29ad7e602d97b42a43e88c7461e8a2..9cb13d99f8738ef67889fd0b50b33fd23b97864e 100644 (file)
@@ -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 "";
index e2ff8746dbfe28025558bf249089f4bcc77402aa..541a48c6932fe37f97031a2d04044857900633cb 100644 (file)
@@ -49,7 +49,7 @@ sub get_param_list {
   {
    name => 'urlbase',
    type => 't',
-   default => 'http://you-havent-visited-editparams.cgi-yet/',
+   default => '',
    checker => \&check_urlbase
   },