Révision 1930a63e
Ajouté par Manuel Silvoso il y a presque 10 ans
etc/inc/xmlrpc_client.inc | ||
---|---|---|
1002 | 1002 |
return false; |
1003 | 1003 |
} |
1004 | 1004 |
if ($this->proxy) { |
1005 |
$this->headers = 'POST ' . $this->protocol . $this->server;
|
|
1005 |
$this->headers = 'POST ' . ($this->protocol=='ssl://'?'https://':$this->protocol). $this->server;
|
|
1006 | 1006 |
if ($this->proxy_port) { |
1007 | 1007 |
$this->headers .= ':' . $this->port; |
1008 | 1008 |
} |
Formats disponibles : Unified diff
Convert protocol ssl:// to https:// when creating http headers