Skip to content
Extraits de code Groupes Projets
Valider c5d507fd rédigé par cerdic's avatar cerdic
Parcourir les fichiers

Fix #3969 : on passe par defaut via connect quand le mode proxy est selectionnne

parent a3e44b3c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -1402,7 +1402,7 @@ function lance_requete(
$connect = '';
if ($http_proxy) {
if (defined('_PROXY_HTTPS_VIA_CONNECT') and in_array($scheme , array('tls','ssl'))) {
if (!defined('_PROXY_HTTPS_NOT_VIA_CONNECT') and in_array($scheme , array('tls','ssl'))) {
$path_host = (!$user ? '' : "$user@") . $host . (($port != 80) ? ":$port" : '');
$connect = 'CONNECT ' . $path_host . " $vers\r\n"
. "Host: $path_host\r\n"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter