Blame SOURCES/php-pear-proxy.patch

208322
From 798621dda8328228a6cccfc09a7b7cce77ba3424 Mon Sep 17 00:00:00 2001
208322
From: Remi Collet <fedora@famillecollet.com>
208322
Date: Wed, 30 Mar 2016 11:45:21 +0200
208322
Subject: [PATCH] fix https connection via proxy
208322
208322
---
208322
 PEAR/REST.php | 6 +-----
208322
 1 file changed, 1 insertion(+), 5 deletions(-)
208322
208322
diff --git a/PEAR/REST.php b/PEAR/REST.php
208322
index 1e472b7..00129ba 100644
208322
--- a/PEAR/REST.php
208322
+++ b/PEAR/REST.php
208322
@@ -360,11 +360,7 @@ function downloadHttp($url, $lastmodified = null, $accept = false, $channel = fa
208322
         if ($this->config->get('http_proxy')&&
208322
               $proxy = parse_url($this->config->get('http_proxy'))
208322
         ) {
208322
-            $proxy_host = isset($proxy['host']) ? $proxy['host'] : null;
208322
-            if ($schema === 'https') {
208322
-                $proxy_host = 'ssl://' . $proxy_host;
208322
-            }
208322
-
208322
+            $proxy_host   = isset($proxy['host']) ? $proxy['host'] : null;
208322
             $proxy_port   = isset($proxy['port']) ? $proxy['port'] : 8080;
208322
             $proxy_user   = isset($proxy['user']) ? urldecode($proxy['user']) : null;
208322
             $proxy_pass   = isset($proxy['pass']) ? urldecode($proxy['pass']) : null;