GeoKretyMap / Api

Api for reading GeoKrety database
2 stars 2 forks source link

export2.php without valid parameter results full database dump #22

Closed bekuno closed 5 years ago

bekuno commented 5 years ago

When you call the export2.php skript without a valid parameter the you get a full database dump. Is that really what you want? I think it should better to result to a error message or empty data.

kumy commented 5 years ago

On GKM https://api.geokretymap.org/export2.php return a http 204 No parameters. However as you said, https://geokrety.org/export2.php return the whole database. This is probably a bug as it should restrict result to last x days and enforce some restriction.

kumy commented 5 years ago

Will migrate this issue to GK…

kumy commented 5 years ago

closing here