From f630d649a86cc24e11274dbf7fd695dca22da1e2 Mon Sep 17 00:00:00 2001 From: Cerdic <cedric@yterium.com> Date: Fri, 27 Apr 2012 15:11:43 +0000 Subject: [PATCH] report de r19048 --- ecrire/inc/distant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php index 18f13e3ce1..a61be46261 100644 --- a/ecrire/inc/distant.php +++ b/ecrire/inc/distant.php @@ -655,7 +655,7 @@ function lance_requete($method, $scheme, $user, $host, $path, $port, $noproxy, $ if ($user) $user = urlencode($user[0]) . ":" . urlencode($user[1]); if ($http_proxy){ - $path = "$scheme://" + $path = (($scheme=='ssl') ? 'https://' : "$scheme://") . (!$user ? '' : "$user@") . "$host" . (($port!=80) ? ":$port" : "") . $path; $t2 = @parse_url($http_proxy); -- GitLab