Skip Menu |
 

This queue is for tickets about the Geo-IP2Location CPAN distribution.

Report information
The Basics
Id: 70710
Status: resolved
Priority: 0/
Queue: Geo-IP2Location

People
Owner: hexasoft [...] gmail.com
Requestors: NEILB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.10
Fixed in: 8.00



Subject: doesn't use the correct ISO 3166 code for united kingdom
Download (untitled) / with headers
text/plain 373b
For IP addresses in the UK, the get_country_short() module returns a code of 'UK', which isn't the ISO 3166 code for the UK, 'GB' is. By default I think the module should return GB, as if people are working with ISO codes, they'll expect to get that back. You could provide a convenience function or parameter on the constructor, which says to use 'UK' rather than 'GB'.
The UK has been replaced with GB in the results.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.