summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config/Common.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-02-23 10:41:13 +0100
committerlpsolit%gmail.com <>2006-02-23 10:41:13 +0100
commit18e0eec795f702856470969a7f0dc134a3686ffc (patch)
tree784f38cd2e69ffd46182e31c1a0ca6da6075e980 /Bugzilla/Config/Common.pm
parentaed0dc118c22c05799ea2e656d4a3b68356e9c28 (diff)
downloadbugzilla-18e0eec795f702856470969a7f0dc134a3686ffc.tar.gz
bugzilla-18e0eec795f702856470969a7f0dc134a3686ffc.tar.xz
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
Diffstat (limited to 'Bugzilla/Config/Common.pm')
-rw-r--r--Bugzilla/Config/Common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm
index 4ca48b839..ee6e9fe47 100644
--- a/Bugzilla/Config/Common.pm
+++ b/Bugzilla/Config/Common.pm
@@ -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 "";