diff options
author | Manuel Silvoso <msilvoso@gmail.com> | 2014-05-08 14:27:10 +0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-05-28 17:48:54 -0300 |
commit | 1930a63e811915da210555804925e67ec419d662 (patch) | |
tree | 9184e0e310ee9fa79f13bea73970b8aa25c18b31 /etc/inc | |
parent | d62a265c918bfd9180fdfca718147d6b6a2862f7 (diff) | |
download | pfsense-1930a63e811915da210555804925e67ec419d662.zip pfsense-1930a63e811915da210555804925e67ec419d662.tar.gz |
Convert protocol ssl:// to https:// when creating http headers
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/xmlrpc_client.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/xmlrpc_client.inc b/etc/inc/xmlrpc_client.inc index cc91f6d..fbbf977 100644 --- a/etc/inc/xmlrpc_client.inc +++ b/etc/inc/xmlrpc_client.inc @@ -1002,7 +1002,7 @@ class XML_RPC_Client extends XML_RPC_Base { return false; } if ($this->proxy) { - $this->headers = 'POST ' . $this->protocol . $this->server; + $this->headers = 'POST ' . ($this->protocol=='ssl://'?'https://':$this->protocol). $this->server; if ($this->proxy_port) { $this->headers .= ':' . $this->port; } |