From 596a9e77e87e94b8022c06c3ed0f8cb2279d8a41 Mon Sep 17 00:00:00 2001 From: Tobias Date: Fri, 28 Oct 2011 23:02:30 +0000 Subject: [PATCH] Disable proxy for local URLs instead of using a local proxy (which might not always exist). In r61357 a comment "Not sure this makes any sense." was removed. Indeed, that comment seems to have been right :) --- includes/HttpFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index d24957142e..47dc682574 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -278,7 +278,7 @@ class MWHttpRequest { } if ( Http::isLocalURL( $this->url ) ) { - $this->proxy = 'http://localhost:80/'; + $this->proxy = ''; } elseif ( $wgHTTPProxy ) { $this->proxy = $wgHTTPProxy ; } elseif ( getenv( "http_proxy" ) ) { -- 2.20.1