Disable proxy for local URLs instead of using a local proxy (which might not always...
authorTobias <churchofemacs@users.mediawiki.org>
Fri, 28 Oct 2011 23:02:30 +0000 (23:02 +0000)
committerTobias <churchofemacs@users.mediawiki.org>
Fri, 28 Oct 2011 23:02:30 +0000 (23:02 +0000)
includes/HttpFunctions.php

index d249571..47dc682 100644 (file)
@@ -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" ) ) {