digidem / osm-p2p-server

Peer-to-peer OpenStreetMap API v0.6 Server for osm-p2p-db
BSD 2-Clause "Simplified" License
87 stars 10 forks source link

Check ids are not coerced to numbers in JSON API #34

Open gmaclennan opened 7 years ago

gmaclennan commented 7 years ago

I have a feeling that somewhere in the JSON API I coerce id to Number which can lead to bad things happening due to JavaScript numbers are only 53-bit. Leaving this here as a placeholder to check for this later, since this is a horrible bug waiting to happen.