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 :)
This commit is contained in:
parent
5249a9a79f
commit
596a9e77e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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" ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue