From e7d2579772fdc9aaaa5894e68dd2f1deb63a2d11 Mon Sep 17 00:00:00 2001 From: "Cathy J. Fitzpatrick" Date: Mon, 3 Jun 2013 03:39:01 -0500 Subject: [PATCH] Correct redirect exception IP check --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index c84a069cb..7e115cd29 100644 --- a/.htaccess +++ b/.htaccess @@ -53,7 +53,7 @@ RewriteCond %{ENV:SCRIPT_URL} ^/(lobby/?)?$ RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^https?:\/\/([a-z0-9-]+.)?(pokemonshowdown\.com|appjs) RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$ -RewriteCond %{REMOTE_ADDR} !^173\.252\.196\.254$ +RewriteCond %{HTTP:X-Forwarded-For} !^173\.252\.196\.254$ RewriteRule .* - [E=LOBBY_REDIRECT:1] RewriteCond %{ENV:LOBBY_REDIRECT}%{ENV:P_SUFFIX} =1