dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a9909
)
Fix copy-paste error in wfIsConfiguredProxy()
author
Kevin Israel
<pleasestand@live.com>
Fri, 20 Jun 2014 05:25:41 +0000
(
01:25
-0400)
committer
Kevin Israel
<pleasestand@live.com>
Fri, 20 Jun 2014 05:27:33 +0000
(
01:27
-0400)
It should call IP::isConfiguredProxy(), not IP::isTrustedProxy().
Follows-up
e323bc33934d
.
Change-Id: I3caf8261f6058aa1a243c055b746b2fa61b1bf49
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
c95c380
..
49d07b6
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-4221,5
+4221,5
@@
function wfIsTrustedProxy( $ip ) {
* @since 1.23 Supports CIDR ranges in $wgSquidServersNoPurge
*/
function wfIsConfiguredProxy( $ip ) {
- return IP::is
Trust
edProxy( $ip );
+ return IP::is
Configur
edProxy( $ip );
}