diff options
author | Manuel Silvoso <msilvoso@gmail.com> | 2014-04-30 16:41:34 +0200 |
---|---|---|
committer | Manuel Silvoso <msilvoso@gmail.com> | 2014-04-30 16:41:34 +0200 |
commit | 0ae4f3faaf99e134351175835e6833aba3c822f1 (patch) | |
tree | fd1d300ac5f6f75fad03f9865582c8ca5dd60d36 /etc/inc/xmlrpc_client.inc | |
parent | fd2fe87dea35149460658a27c4814807f0a0f928 (diff) | |
download | pfsense-0ae4f3faaf99e134351175835e6833aba3c822f1.zip pfsense-0ae4f3faaf99e134351175835e6833aba3c822f1.tar.gz |
Changes to make it work behind a bluecoat proxy - added a user agent, and changed url scheme
Diffstat (limited to 'etc/inc/xmlrpc_client.inc')
-rw-r--r-- | etc/inc/xmlrpc_client.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/xmlrpc_client.inc b/etc/inc/xmlrpc_client.inc index cc91f6d..6248d95 100644 --- a/etc/inc/xmlrpc_client.inc +++ b/etc/inc/xmlrpc_client.inc @@ -735,7 +735,7 @@ class XML_RPC_Client extends XML_RPC_Base { if ($match[1] == '') { if ($port == 443) { $this->server = $match[2]; - $this->protocol = 'ssl://'; + $this->protocol = 'https://'; $this->port = 443; } else { $this->server = $match[2]; @@ -750,7 +750,7 @@ class XML_RPC_Client extends XML_RPC_Base { } } else { $this->server = $match[2]; - $this->protocol = 'ssl://'; + $this->protocol = 'https://'; if ($port) { $this->port = $port; } else { @@ -763,7 +763,7 @@ class XML_RPC_Client extends XML_RPC_Base { if ($match[1] == '') { if ($proxy_port == 443) { $this->proxy = $match[2]; - $this->proxy_protocol = 'ssl://'; + $this->proxy_protocol = 'https://'; $this->proxy_port = 443; } else { $this->proxy = $match[2]; @@ -778,7 +778,7 @@ class XML_RPC_Client extends XML_RPC_Base { } } else { $this->proxy = $match[2]; - $this->proxy_protocol = 'ssl://'; + $this->proxy_protocol = 'https://'; if ($proxy_port) { $this->proxy_port = $proxy_port; } else { |