diff options
author | Manuel Silvoso <msilvoso@gmail.com> | 2014-05-08 14:27:10 +0200 |
---|---|---|
committer | Manuel Silvoso <msilvoso@gmail.com> | 2014-05-08 14:27:10 +0200 |
commit | 81c8b51db237830e25557f84c6bad155e5741275 (patch) | |
tree | 16b19f7d397c04db5e5eeb6618eb244a5e240cf8 /etc/inc/xmlrpc_client.inc | |
parent | d5fad541826c7900a1184d520c94efc1a8a68b14 (diff) | |
download | pfsense-81c8b51db237830e25557f84c6bad155e5741275.zip pfsense-81c8b51db237830e25557f84c6bad155e5741275.tar.gz |
Convert protocol ssl:// to https:// when creating http headers
Diffstat (limited to 'etc/inc/xmlrpc_client.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; } |