Hi,
I've spotted a bug in the country detection.
Here it is :
When you compare the IP range country with the country keys stored in variables, you take spaces out from the name so that Burkina Faso becomes burkinafaso.
In this case, a key exists in the array.
However, with Cote d'Ivoire, the processing finds coted'ivoire, which has no match in the variables array. This is a special case as the name of this country has become its French translation worldwide.
So, in lines around 332, change some lines with
$country_name = drupal_strtolower(str_replace(' ', '', $country_name));
$country_name = str_replace('\'','',$country_name);
$variable_name = "countryban_" . $country_name;
$banvalue = variable_get($variable_name, -1);
Comments
Comment #1
jboukes commentedFixed in 6.x-1.1-beta1