mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Fix maxmind test case
This commit is contained in:
44
test/test-cases/data/GeoIP2-City-Test-source.json
Normal file
44
test/test-cases/data/GeoIP2-City-Test-source.json
Normal file
@@ -0,0 +1,44 @@
|
||||
[
|
||||
{
|
||||
"::200.249.12.31/120" : {
|
||||
"continent" : {
|
||||
"code" : "SA",
|
||||
"geoname_id" : 123,
|
||||
"names" : {
|
||||
"en" : "South America",
|
||||
"pt-BR" : "America do Sul"
|
||||
}
|
||||
},
|
||||
"country" : {
|
||||
"geoname_id" : 123,
|
||||
"iso_code" : "BR",
|
||||
"names" : {
|
||||
"en" : "Brazil",
|
||||
"pt-BR" : "Brasil"
|
||||
}
|
||||
},
|
||||
"location" : {
|
||||
"accuracy_radius" : 100,
|
||||
"latitude" : "-8.051502",
|
||||
"longitude" : "-34.874919"
|
||||
},
|
||||
"registered_country" : {
|
||||
"geoname_id" : 123,
|
||||
"iso_code" : "BR",
|
||||
"names" : {
|
||||
"en" : "Brazil",
|
||||
"pt-BR" : "Brasil"
|
||||
}
|
||||
},
|
||||
"postal": {
|
||||
"code": "50040090"
|
||||
},
|
||||
"city": {
|
||||
"names": {
|
||||
"en": "Recife"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
BIN
test/test-cases/data/GeoIP2-City-Test.mmdb
Normal file
BIN
test/test-cases/data/GeoIP2-City-Test.mmdb
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 60 MiB |
Reference in New Issue
Block a user