models.py
23.8 KB
-
ECOM-1178: Embargo rules for continent codes. · feed7eaa
This commit fixes a bug that could occur when GeoIP returns a continent code ("EU" or "AN") instead of a country code. The previous implementation would block users in this case since the country code was not on the whitelist (consisting of all known country codes). The new implementation allows user access by default if we don't recognize the country code.
Will Daly committed