From e3f06ee220cd33beca20aa7c0ab64ed9ae08bf79 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 10 Jan 2012 10:51:36 -0500 Subject: [PATCH] Use X-Client header for IP for load-balancers --- plugins/RegisterThrottle/RegisterThrottlePlugin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/RegisterThrottle/RegisterThrottlePlugin.php b/plugins/RegisterThrottle/RegisterThrottlePlugin.php index 7ad7809bac..1e686bd62b 100644 --- a/plugins/RegisterThrottle/RegisterThrottlePlugin.php +++ b/plugins/RegisterThrottle/RegisterThrottlePlugin.php @@ -223,6 +223,7 @@ class RegisterThrottlePlugin extends Plugin private function _getIpAddress() { $keys = array('HTTP_X_FORWARDED_FOR', + 'HTTP_X_CLIENT', 'CLIENT-IP', 'REMOTE_ADDR'); -- 2.39.5