Subject: | https:// bugzillas cannot be accessed (EasyFix) |
WWW::Bugzilla3's new() uses a regex to determine if it needs to prepend
'http://' to the site string passed. However, it does it in such a way
that https:// uri's are not detected, and you end up with fun site
strings like:
http://https://bugzilla.redhat.com/xmlrpc.cgi
A quick fix is to change line 54 in Bugzilla3.pm from
$param{site} = "http://" . $param{site}
unless $param{site} =~ /^http:\/\//;
to
$param{site} = "http://" . $param{site}
unless $param{site} =~ /^http(s|):\/\//;
This would seem to be pretty important, as I don't know of many bugzilla
sites running across just plain old https anymore...