]> 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:41:13 +0000 (09:41 +0000)
committerlpsolit%gmail.com <>
Thu, 23 Feb 2006 09:41:13 +0000 (09:41 +0000)
Bugzilla/Config/Common.pm
Bugzilla/Config/Core.pm

index 4ca48b83974326f8d993d392c9d8f1bc0f751fa7..ee6e9fe476dc3bfff43a91cfb4de7da16491493f 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 21b974852093668c871e021b57c88470ed8aecf8..738c28fe20dce49f89e177feef9b456ffaf71407 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
   },