Bug in wp-fail2ban.php
-
It shouldn’t be
if (array_key_exists($_SERVER,'HTTP_X_FORWARDED_FOR')) {
but
if (array_key_exists('HTTP_X_FORWARDED_FOR',$_SERVER)) {
Also, i would suggest to force checking of HTTP_X_FORWARDED_FOR in case $ip == private network (i.e. 192.168.x.x, 10.x.x.x.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug in wp-fail2ban.php’ is closed to new replies.