From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- includes/ProxyTools.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/ProxyTools.php') diff --git a/includes/ProxyTools.php b/includes/ProxyTools.php index 349789fe..b54a9a35 100644 --- a/includes/ProxyTools.php +++ b/includes/ProxyTools.php @@ -60,8 +60,8 @@ function wfGetIP() { } /** - * Checks if an IP is a trusted proxy providor. - * Useful to tell if X-Fowarded-For data is possibly bogus. + * Checks if an IP is a trusted proxy provider. + * Useful to tell if X-Forwarded-For data is possibly bogus. * Squid cache servers for the site are whitelisted. * * @param $ip String @@ -109,7 +109,7 @@ function wfProxyCheck() { if ( !$skip ) { $title = SpecialPage::getTitleFor( 'Blockme' ); $iphash = md5( $ip . $wgProxyKey ); - $url = wfExpandUrl( $title->getFullURL( 'ip='.$iphash ), PROTO_HTTP ); + $url = wfExpandUrl( $title->getFullURL( 'ip=' . $iphash ), PROTO_HTTP ); foreach ( $wgProxyPorts as $port ) { $params = implode( ' ', array( -- cgit v1.2.2