summaryrefslogtreecommitdiffstats
path: root/etc/inc/xmlrpc_client.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-05-07 14:13:39 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-05-07 14:13:39 -0300
commitf0d23c27224fe066dedb55426afd2b7f2a4b9745 (patch)
treedd0b1aaf1af118a9ff82433239640f6e39861630 /etc/inc/xmlrpc_client.inc
parent4f5bea8b6e2e6b0d5c1352539268d720826b4760 (diff)
downloadpfsense-f0d23c27224fe066dedb55426afd2b7f2a4b9745.zip
pfsense-f0d23c27224fe066dedb55426afd2b7f2a4b9745.tar.gz
Revert "Respect protocol from URL"
This reverts commit 4f5bea8b6e2e6b0d5c1352539268d720826b4760.
Diffstat (limited to 'etc/inc/xmlrpc_client.inc')
-rw-r--r--etc/inc/xmlrpc_client.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/xmlrpc_client.inc b/etc/inc/xmlrpc_client.inc
index dbc12a7..6248d95 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 = $match[1];
+ $this->protocol = 'https://';
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 = $match[1];
+ $this->proxy_protocol = 'https://';
if ($proxy_port) {
$this->proxy_port = $proxy_port;
} else {
OpenPOWER on IntegriCloud