Skip Menu |

This queue is for tickets about the WWW-Bugzilla3 CPAN distribution.

Report information
The Basics
Id: 39850
Status: resolved
Priority: 0/
Queue: WWW-Bugzilla3

People
Owner: Nobody in particular
Requestors: rsrchboy [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.7
Fixed in: 0.71



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...