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 "";
desc => 'The URL that is the common initial leading part of all Bugzilla ' .
'URLs.',
type => 't',
- default => 'http://you-havent-visited-editparams.cgi-yet/',
+ default => '',
checker => \&check_urlbase
},