summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/xmlrpc_client.inc2
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;
}
OpenPOWER on IntegriCloud