bobthecow / genghis

The single-file MongoDB admin app
http://genghisapp.com
MIT License
1.45k stars 166 forks source link

Documents containing Infinity cause error #165

Open 9point6 opened 10 years ago

9point6 commented 10 years ago

Hi,

Similar to #164, If a document in a collection contains Infinity (or -Infinity) the page load will fail when trying to list the collection.

An inspection of the request responses shows the following error:

{"error":"815: -Infinity not allowed in JSON","status":500}

This happens on both stable and dev releases

(Thanks for the great project btw!)

richthegeek commented 10 years ago

Fix available in #166