AmericanRedCross / osm-stats

Track and analyze contributions to Missing Maps
http://missingmaps.org
BSD 3-Clause "New" or "Revised" License
26 stars 9 forks source link

API endpoint /users/{user_id#} ignores case #59

Open britiger opened 4 years ago

britiger commented 4 years ago

The API is case insensiitve, usernames in osm are case-sensitive. So I can't access my stats: https://osm-stats-production-api.azurewebsites.net/users/Christopher

I always get stats from user christopher (lower-case), my username has a capital letter at begining.

This problem I found while try to get my stats on missingmaps. There are more useres which have this problem, see also MissingMaps/missingmaps.github.io#413

While calling the API for hashes I can found my username in it: https://osm-stats-production-api.azurewebsites.net/top-users/bikeparking