From 1930a63e811915da210555804925e67ec419d662 Mon Sep 17 00:00:00 2001 From: Manuel Silvoso Date: Thu, 8 May 2014 14:27:10 +0200 Subject: Convert protocol ssl:// to https:// when creating http headers --- etc/inc/xmlrpc_client.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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; } -- cgit v1.1