diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-05-07 14:09:46 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-05-07 14:09:46 -0300 |
commit | 4f5bea8b6e2e6b0d5c1352539268d720826b4760 (patch) | |
tree | 4345025e3f798d863bd6fd335454d75ea9fb8f5a /etc/inc/xmlrpc_client.inc | |
parent | c90d37f35668814e4ba0e7ac397fab54ec420957 (diff) | |
download | pfsense-4f5bea8b6e2e6b0d5c1352539268d720826b4760.zip pfsense-4f5bea8b6e2e6b0d5c1352539268d720826b4760.tar.gz |
Respect protocol from URL
Diffstat (limited to 'etc/inc/xmlrpc_client.inc')
-rw-r--r-- | etc/inc/xmlrpc_client.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/xmlrpc_client.inc b/etc/inc/xmlrpc_client.inc index 6248d95..dbc12a7 100644 --- a/etc/inc/xmlrpc_client.inc +++ b/etc/inc/xmlrpc_client.inc @@ -750,7 +750,7 @@ class XML_RPC_Client extends XML_RPC_Base { } } else { $this->server = $match[2]; - $this->protocol = 'https://'; + $this->protocol = $match[1]; if ($port) { $this->port = $port; } else { @@ -778,7 +778,7 @@ class XML_RPC_Client extends XML_RPC_Base { } } else { $this->proxy = $match[2]; - $this->proxy_protocol = 'https://'; + $this->proxy_protocol = $match[1]; if ($proxy_port) { $this->proxy_port = $proxy_port; } else { |